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

 

Gets a value indicating whether the specified object, which represents a serialized toolbox item, can be used by the specified designer host.

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

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

Parameters

serializedObject
Type: System::Object^

The object that contains the ToolboxItem to retrieve.

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

The IDesignerHost to test for support for the ToolboxItem.

Return Value

Type: System::Boolean

true if the specified object is compatible with the specified designer host; otherwise, false.

Exception Condition
ArgumentNullException

serializedObject or host is null.

.NET Framework
Available since 2.0
Return to top
Show: