ToolboxItemCollection.Contains メソッド
アセンブリ: System.Drawing (system.drawing.dll 内)

Dim instance As ToolboxItemCollection Dim value As ToolboxItem Dim returnValue As Boolean returnValue = instance.Contains(value)
戻り値
コレクションに指定したオブジェクトが格納されている場合は true。それ以外の場合は false。

ToolboxItemCollection の Contains メソッドの使用例を次に示します。
' If the collection contains the specified ToolboxItem, ' retrieve the collection index of the specified item. Dim indx As Integer = -1 If collection.Contains(item) Then indx = collection.IndexOf(item) End If
// If the collection contains the specified ToolboxItem, // retrieve the collection index of the specified item. int indx = -1; if( collection.Contains( item ) ) indx = collection.IndexOf( item );
// If the collection contains the specified ToolboxItem, // retrieve the collection index of the specified item. int indx = -1; if ( collection->Contains( item ) ) indx = collection->IndexOf( item );

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

- ToolboxItemCollection.Contains メソッドのページへのリンク