IToolboxService::IsToolboxItem Method (Object^, IDesignerHost^)

 

Gets a value indicating whether the specified object is a serialized toolbox item, using the specified designer host.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

bool IsToolboxItem(
	Object^ serializedObject,
	IDesignerHost^ host
)

Parameters

serializedObject
Type: System::Object^

The object to inspect.

host
Type: System.ComponentModel.Design::IDesignerHost^

The IDesignerHost that is making this request.

Return Value

Type: System::Boolean

true if the object contains a toolbox item object; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: