Rediger

Del via


ToolboxService.IToolboxService.IsToolboxItem Method

Definition

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

Overloads

IToolboxService.IsToolboxItem(Object, IDesignerHost)

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

IToolboxService.IsToolboxItem(Object)

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

IToolboxService.IsToolboxItem(Object, IDesignerHost)

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

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

Parameters

serializedObject
Object

The object to inspect.

host
IDesignerHost

The IDesignerHost that is making this request.

Returns

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

Implements

Applies to

IToolboxService.IsToolboxItem(Object)

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

 virtual bool System.Drawing.Design.IToolboxService.IsToolboxItem(System::Object ^ serializedObject) = System::Drawing::Design::IToolboxService::IsToolboxItem;
bool IToolboxService.IsToolboxItem (object serializedObject);
abstract member System.Drawing.Design.IToolboxService.IsToolboxItem : obj -> bool
override this.System.Drawing.Design.IToolboxService.IsToolboxItem : obj -> bool
Function IsToolboxItem (serializedObject As Object) As Boolean Implements IToolboxService.IsToolboxItem

Parameters

serializedObject
Object

The object to inspect.

Returns

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

Implements

Applies to