ToolboxItemAttribute Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der ToolboxItemAttribute Klasse und gibt an, ob Standardinitialisierungswerte verwendet werden sollen.
Überlädt
| Name | Beschreibung |
|---|---|
| ToolboxItemAttribute(Boolean) |
Initialisiert eine neue Instanz der ToolboxItemAttribute Klasse und gibt an, ob Standardinitialisierungswerte verwendet werden sollen. |
| ToolboxItemAttribute(String) |
Initialisiert eine neue Instanz der ToolboxItemAttribute Klasse mit dem angegebenen Namen des Typs. |
| ToolboxItemAttribute(Type) |
Initialisiert eine neue Instanz der ToolboxItemAttribute Klasse mithilfe des angegebenen Typs des Toolboxelements. |
ToolboxItemAttribute(Boolean)
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
Initialisiert eine neue Instanz der ToolboxItemAttribute Klasse und gibt an, ob Standardinitialisierungswerte verwendet werden sollen.
public:
ToolboxItemAttribute(bool defaultType);
public ToolboxItemAttribute(bool defaultType);
new System.ComponentModel.ToolboxItemAttribute : bool -> System.ComponentModel.ToolboxItemAttribute
Public Sub New (defaultType As Boolean)
Parameter
- defaultType
- Boolean
true um ein Toolboxelement-Attribut für einen Standardtyp zu erstellen; false um keine standardmäßige Toolboxelementunterstützung für dieses Attribut zuzuordnen.
Hinweise
Standardmäßig ist die ToolboxItemType Eigenschaft auf ToolboxItem.
Gilt für:
ToolboxItemAttribute(String)
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
Initialisiert eine neue Instanz der ToolboxItemAttribute Klasse mit dem angegebenen Namen des Typs.
public:
ToolboxItemAttribute(System::String ^ toolboxItemTypeName);
public ToolboxItemAttribute(string toolboxItemTypeName);
new System.ComponentModel.ToolboxItemAttribute : string -> System.ComponentModel.ToolboxItemAttribute
Public Sub New (toolboxItemTypeName As String)
Parameter
- toolboxItemTypeName
- String
Die Namen des Typs des Toolboxelements und der Assembly, die den Typ enthält.
Hinweise
Dieser Konstruktor erwartet, dass sich der toolboxItemTypeNameParameter im Formularnamen <des Elementtyps>, <des Namens der Assembly> befindet (z. B. System.Drawing.Design.ToolboxItem, System.Drawing.Design).
Gilt für:
ToolboxItemAttribute(Type)
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
- Quelle:
- ToolboxItemAttribute.cs
Initialisiert eine neue Instanz der ToolboxItemAttribute Klasse mithilfe des angegebenen Typs des Toolboxelements.
public:
ToolboxItemAttribute(Type ^ toolboxItemType);
public ToolboxItemAttribute(Type toolboxItemType);
new System.ComponentModel.ToolboxItemAttribute : Type -> System.ComponentModel.ToolboxItemAttribute
Public Sub New (toolboxItemType As Type)
Parameter
- toolboxItemType
- Type
Der Typ des Toolboxelements.