Bewerken

Delen via


IToolboxService.IsToolboxItem Method

Definition

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

Overloads

IsToolboxItem(Object)

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

IsToolboxItem(Object, IDesignerHost)

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

IsToolboxItem(Object)

Source:
IToolboxService.cs
Source:
IToolboxService.cs
Source:
IToolboxService.cs

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

public:
 bool IsToolboxItem(System::Object ^ serializedObject);
public bool IsToolboxItem (object serializedObject);
abstract member IsToolboxItem : obj -> bool
Public Function IsToolboxItem (serializedObject As Object) As Boolean

Parameters

serializedObject
Object

The object to inspect.

Returns

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

Applies to

IsToolboxItem(Object, IDesignerHost)

Source:
IToolboxService.cs
Source:
IToolboxService.cs
Source:
IToolboxService.cs

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

public:
 bool IsToolboxItem(System::Object ^ serializedObject, System::ComponentModel::Design::IDesignerHost ^ host);
public bool IsToolboxItem (object serializedObject, System.ComponentModel.Design.IDesignerHost host);
abstract member IsToolboxItem : obj * System.ComponentModel.Design.IDesignerHost -> bool
Public Function IsToolboxItem (serializedObject As Object, host As IDesignerHost) As Boolean

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.

Applies to