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.

C#
public bool IsToolboxItem(object serializedObject);

Parameters

serializedObject
Object

The object to inspect.

Returns

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

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

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.

C#
public bool IsToolboxItem(object serializedObject, System.ComponentModel.Design.IDesignerHost host);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10