OperationBindingCollection.Insert メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > OperationBindingCollection.Insert メソッドの意味・解説 

OperationBindingCollection.Insert メソッド

指定した 0 から始まるインデックス番号にある OperationBindingCollection に、指定した OperationBinding インスタンス追加します

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Public Sub Insert ( _
    index As Integer, _
    bindingOperation As OperationBinding _
)
Dim instance As OperationBindingCollection
Dim index As Integer
Dim bindingOperation As OperationBinding

instance.Insert(index, bindingOperation)
public void Insert (
    int index,
    OperationBinding bindingOperation
)
public:
void Insert (
    int index, 
    OperationBinding^ bindingOperation
)
public void Insert (
    int index, 
    OperationBinding bindingOperation
)
public function Insert (
    index : int, 
    bindingOperation : OperationBinding
)

パラメータ

index

bindingOperation パラメータ挿入する位置の、0 から始まるインデックス番号

bindingOperation

コレクション追加する OperationBinding。

解説解説
使用例使用例

Insert メソッド使用する例を次に示します

' 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);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
OperationBindingCollection クラス
OperationBindingCollection メンバ
System.Web.Services.Description 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からOperationBindingCollection.Insert メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からOperationBindingCollection.Insert メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からOperationBindingCollection.Insert メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

OperationBindingCollection.Insert メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



OperationBindingCollection.Insert メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS