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

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

OperationBindingCollection.IndexOf メソッド

指定した OperationBinding検索しコレクション内で最初に見つかった位置の 0 から始まるインデックス番号返します

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

Public Function IndexOf ( _
    bindingOperation As OperationBinding _
) As Integer
Dim instance As OperationBindingCollection
Dim bindingOperation As OperationBinding
Dim returnValue As Integer

returnValue = instance.IndexOf(bindingOperation)
public int IndexOf (
    OperationBinding bindingOperation
)
public:
int IndexOf (
    OperationBinding^ bindingOperation
)
public int IndexOf (
    OperationBinding bindingOperation
)
public function IndexOf (
    bindingOperation : OperationBinding
) : int

パラメータ

bindingOperation

コレクション内での検索対象となる OperationBinding。

戻り値
32 ビット符号付き整数

使用例使用例

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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS