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

 

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

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

private:
virtual bool IsToolboxItem(
	Object^ serializedObject,
	IDesignerHost^ host
) sealed = IToolboxService::IsToolboxItem

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 2.0
Return to top
Show: