OperationMessageCollection.IndexOf メソッド
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文Dim instance As OperationMessageCollection Dim operationMessage As OperationMessage Dim returnValue As Integer returnValue = instance.IndexOf(operationMessage)
戻り値
32 ビット符号付き整数。
使用例If myOperationMessageCollection.Contains(myOperationMessage) _ = True Then Dim myIndex As Integer = _ myOperationMessageCollection.IndexOf(myOperationMessage) Console.WriteLine(" The index of the Add operation " & _ "message in the collection is : " & myIndex.ToString()) End If
if(myOperationMessageCollection.Contains(myOperationMessage) == true ) { int myIndex = myOperationMessageCollection.IndexOf(myOperationMessage); Console.WriteLine(" The index of the Add operation " + "message in the collection is : " + myIndex); }
プラットフォーム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.IndexOf メソッドを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からOperationMessageCollection.IndexOf メソッド
を検索
- OperationMessageCollection.IndexOf メソッドのページへのリンク