ToolboxItemCollection::Contains Method (ToolboxItem^)
.NET Framework (current version)
Indicates whether the collection contains the specified ToolboxItem.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- value
-
Type:
System.Drawing.Design::ToolboxItem^
A ToolboxItem to search the collection for.
Return Value
Type: System::Booleantrue if the collection contains the specified object; otherwise, false.
The following code example demonstrates using the Contains method of a ToolboxItemCollection.
.NET Framework
Available since 1.1
Available since 1.1
Show: