OperationMessageCollection.Insert メソッド
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As OperationMessageCollection Dim index As Integer Dim operationMessage As OperationMessage instance.Insert(index, operationMessage)

コレクション内の項目数が既にコレクションの許容量に達している場合は、新しい要素が挿入される前に内部配列が自動的に再割り当てされ、コレクションの容量が 2 倍になります。
index パラメータと Count が等しい場合は、operationMessage パラメータがコレクションの末尾に追加されます。

myOperationMessageCollection.Remove(myInputOperationMessage) ' Display Flow, Input, and Output after removing. DisplayFlowInputOutput(myOperationMessageCollection, "Remove") ' Insert the message at index 0 in the collection. myOperationMessageCollection.Insert(0, myInputOperationMessage) ' Display Flow, Input, and Output after inserting. DisplayFlowInputOutput(myOperationMessageCollection, "Insert")
myOperationMessageCollection.Remove(myInputOperationMessage); // Display Flow, Input, and Output after removing. DisplayFlowInputOutput(myOperationMessageCollection, "Remove"); // Insert the message at index 0 in the collection. myOperationMessageCollection.Insert(0, myInputOperationMessage); // Display Flow, Input, and Output after inserting. DisplayFlowInputOutput(myOperationMessageCollection, "Insert");
myOperationMessageCollection->Remove( myInputOperationMessage ); // Display Flow, Input, and Output after removing. DisplayFlowInputOutput( myOperationMessageCollection, "Remove" ); // Insert the message at index 0 in the collection. myOperationMessageCollection->Insert( 0, myInputOperationMessage ); // Display Flow, Input, and Output after inserting. DisplayFlowInputOutput( myOperationMessageCollection, "Insert" );
myOperationMessageCollection.Remove(myInputOperationMessage); // Display Flow, Input, and Output after removing. DisplayFlowInputOutput(myOperationMessageCollection, "Remove"); // Insert the message at index 0 in the collection. myOperationMessageCollection.Insert(0, myInputOperationMessage); // Display Flow, Input, and Output after inserting. DisplayFlowInputOutput(myOperationMessageCollection, "Insert");

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からOperationMessageCollection.Insert メソッドを検索する場合は、下記のリンクをクリックしてください。

- OperationMessageCollection.Insert メソッドのページへのリンク