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

Dim instance As OperationBindingCollection Dim index As Integer Dim bindingOperation As OperationBinding instance.Insert(index, bindingOperation)

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

' Insert the OperationBinding of the Add operation at index 0. myOperationBindingCollection.Insert(0, addOperationBinding) Console.WriteLine(ControlChars.NewLine & _ "Inserted the OperationBinding of the " & _ "Add operation in the collection.") ' Get the index of the OperationBinding of the Add ' operation from the collection. Dim index As Integer = myOperationBindingCollection.IndexOf( _ addOperationBinding) Console.WriteLine(ControlChars.NewLine & _ "The index of the OperationBinding of the " & _ "Add operation : " & index.ToString())
// Insert the OperationBinding of the Add operation at index 0. myOperationBindingCollection.Insert(0, addOperationBinding); Console.WriteLine("\nInserted the OperationBinding of the " + "Add operation in the collection."); // Get the index of the OperationBinding of the Add // operation from the collection. int index = myOperationBindingCollection.IndexOf(addOperationBinding); Console.WriteLine("\nThe index of the OperationBinding of the " + "Add operation : " + index);
// Insert the OperationBinding of the Add operation at index 0. myOperationBindingCollection->Insert( 0, addOperationBinding ); Console::WriteLine( "\nInserted the OperationBinding of the " "Add operation in the collection." ); // Get the index of the OperationBinding of the Add // operation from the collection. int index = myOperationBindingCollection->IndexOf( addOperationBinding ); Console::WriteLine( "\nThe index of the OperationBinding of the Add operation : {0}", index );
// Insert the OperationBinding of the Add operation at index 0. myOperationBindingCollection.Insert(0, addOperationBinding); Console.WriteLine("\nInserted the OperationBinding of the " + "Add operation in the collection."); // Get the index of the OperationBinding of the Add // operation from the collection. int index = myOperationBindingCollection. IndexOf(addOperationBinding); Console.WriteLine("\nThe index of the OperationBinding of the " + "Add operation : " + index);

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に収録されているすべての辞書からOperationBindingCollection.Insert メソッドを検索する場合は、下記のリンクをクリックしてください。

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