ToolboxService::IToolboxService::IsSupported Method (Object^, IDesignerHost^)
.NET Framework (current version)
Gets a value indicating whether the specified object, which represents a serialized toolbox item, can be used by the specified designer host.
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::Booleantrue 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
Available since 2.0
Show: