Udostępnij za pośrednictwem


ToolboxItemAttribute Konstruktory

Definicja

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

Przeciążenia

Nazwa Opis
ToolboxItemAttribute(Boolean)

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

ToolboxItemAttribute(String)

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

ToolboxItemAttribute(Type)

Inicjuje nowe wystąpienie ToolboxItemAttribute 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
Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs

Inicjuje nowe wystąpienie klasy i określa, czy używać domyślnych ToolboxItemAttribute 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 obsługi domyślnego 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
Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs

Inicjuje nowe wystąpienie ToolboxItemAttribute 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
Źródło:
ToolboxItemAttribute.cs
Źródło:
ToolboxItemAttribute.cs

Inicjuje nowe wystąpienie ToolboxItemAttribute 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