ToolboxItemAttribute Konstruktory

Definicja

Inicjuje ToolboxItemAttribute nowe wystąpienie klasy i określa, czy używać domyślnych wartości inicjowania.

Przeciążenia

ToolboxItemAttribute(Boolean)

Inicjuje ToolboxItemAttribute nowe wystąpienie klasy i określa, czy używać domyślnych wartości inicjowania.

ToolboxItemAttribute(String)

Inicjuje ToolboxItemAttribute nowe wystąpienie klasy przy użyciu określonej nazwy typu.

ToolboxItemAttribute(Type)

Inicjuje ToolboxItemAttribute nowe wystąpienie klasy przy użyciu określonego typu elementu przybornika.

ToolboxItemAttribute(Boolean)

Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs

Inicjuje ToolboxItemAttribute nowe wystąpienie klasy i określa, czy używać domyślnych wartości inicjowania.

public:
 ToolboxItemAttribute(bool defaultType);
public ToolboxItemAttribute (bool defaultType);
new System.ComponentModel.ToolboxItemAttribute : bool -> System.ComponentModel.ToolboxItemAttribute
Public Sub New (defaultType As Boolean)

Parametry

defaultType
Boolean

true aby utworzyć atrybut elementu przybornika dla typu domyślnego; false aby skojarzyć brak domyślnej obsługi elementu przybornika dla tego atrybutu.

Uwagi

Domyślnie właściwość jest ustawiona ToolboxItemType na ToolboxItemwartość .

Dotyczy

ToolboxItemAttribute(String)

Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs

Inicjuje ToolboxItemAttribute nowe wystąpienie klasy przy użyciu określonej nazwy typu.

public:
 ToolboxItemAttribute(System::String ^ toolboxItemTypeName);
public ToolboxItemAttribute (string toolboxItemTypeName);
new System.ComponentModel.ToolboxItemAttribute : string -> System.ComponentModel.ToolboxItemAttribute
Public Sub New (toolboxItemTypeName As String)

Parametry

toolboxItemTypeName
String

Nazwy typu elementu przybornika i zestawu zawierającego typ.

Uwagi

Ten konstruktor oczekujetoolboxItemTypeName, że parametr będzie mieć nazwę formularza <typu>elementu,nazwę<zestawu> (na przykład System.Drawing.Design.ToolboxItem, System.Drawing.Design).

Dotyczy

ToolboxItemAttribute(Type)

Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs

Inicjuje ToolboxItemAttribute nowe wystąpienie klasy przy użyciu określonego typu elementu przybornika.

public:
 ToolboxItemAttribute(Type ^ toolboxItemType);
public ToolboxItemAttribute (Type toolboxItemType);
new System.ComponentModel.ToolboxItemAttribute : Type -> System.ComponentModel.ToolboxItemAttribute
Public Sub New (toolboxItemType As Type)

Parametry

toolboxItemType
Type

Typ elementu przybornika.

Dotyczy