Redigeeri

Jagamisviis:


ToolboxService.IToolboxService.IsSupported Method

Definition

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

Overloads

IToolboxService.IsSupported(Object, ICollection)

Gets a value indicating whether the specified object, which represents a serialized toolbox item, matches the specified attributes.

IToolboxService.IsSupported(Object, IDesignerHost)

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

IToolboxService.IsSupported(Object, ICollection)

Gets a value indicating whether the specified object, which represents a serialized toolbox item, matches the specified attributes.

 virtual bool System.Drawing.Design.IToolboxService.IsSupported(System::Object ^ serializedObject, System::Collections::ICollection ^ filterAttributes) = System::Drawing::Design::IToolboxService::IsSupported;
bool IToolboxService.IsSupported (object serializedObject, System.Collections.ICollection filterAttributes);
abstract member System.Drawing.Design.IToolboxService.IsSupported : obj * System.Collections.ICollection -> bool
override this.System.Drawing.Design.IToolboxService.IsSupported : obj * System.Collections.ICollection -> bool
Function IsSupported (serializedObject As Object, filterAttributes As ICollection) As Boolean Implements IToolboxService.IsSupported

Parameters

serializedObject
Object

The object that contains the ToolboxItem to retrieve.

filterAttributes
ICollection

An ICollection that contains the attributes to test the serialized object for.

Returns

true if the object matches the specified attributes; otherwise, false.

Implements

Exceptions

serializedObject or filterAttributes is null.

Applies to

IToolboxService.IsSupported(Object, IDesignerHost)

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

 virtual bool System.Drawing.Design.IToolboxService.IsSupported(System::Object ^ serializedObject, System::ComponentModel::Design::IDesignerHost ^ host) = System::Drawing::Design::IToolboxService::IsSupported;
bool IToolboxService.IsSupported (object serializedObject, System.ComponentModel.Design.IDesignerHost host);
abstract member System.Drawing.Design.IToolboxService.IsSupported : obj * System.ComponentModel.Design.IDesignerHost -> bool
override this.System.Drawing.Design.IToolboxService.IsSupported : obj * System.ComponentModel.Design.IDesignerHost -> bool
Function IsSupported (serializedObject As Object, host As IDesignerHost) As Boolean Implements IToolboxService.IsSupported

Parameters

serializedObject
Object

The object that contains the ToolboxItem to retrieve.

host
IDesignerHost

The IDesignerHost to test for support for the ToolboxItem.

Returns

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

Implements

Exceptions

serializedObject or host is null.

Applies to