OperationMessageCollection.Contains メソッド
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文Dim instance As OperationMessageCollection Dim operationMessage As OperationMessage Dim returnValue As Boolean returnValue = instance.Contains(operationMessage)
戻り値
operationMessage パラメータが OperationMessageCollection のメンバである場合は true。それ以外の場合は false。
使用例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.Contains メソッドを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からOperationMessageCollection.Contains メソッド
を検索
- OperationMessageCollection.Contains メソッドのページへのリンク