共用方式為


ToolboxItemAttribute 建構函式

定義

初始化該類別的新實例 ToolboxItemAttribute ,並指定是否使用預設初始化值。

多載

名稱 Description
ToolboxItemAttribute(Boolean)

初始化該類別的新實例 ToolboxItemAttribute ,並指定是否使用預設初始化值。

ToolboxItemAttribute(String)

使用指定的類型名稱初始化該類別的新實例 ToolboxItemAttribute

ToolboxItemAttribute(Type)

使用指定工具箱項目的類型初始化該類別的新實例 ToolboxItemAttribute

ToolboxItemAttribute(Boolean)

來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs

初始化該類別的新實例 ToolboxItemAttribute ,並指定是否使用預設初始化值。

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

參數

defaultType
Boolean

true 為預設類型的工具箱項目屬性建立; false 此屬性不為預設工具箱項目支援。

備註

預設情況下,屬性 ToolboxItemType 設定為 ToolboxItem

適用於

ToolboxItemAttribute(String)

來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs

使用指定的類型名稱初始化該類別的新實例 ToolboxItemAttribute

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

參數

toolboxItemTypeName
String

工具箱項目的類型名稱以及包含該類型的組件名稱。

備註

此建構器期望toolboxItemTypeName參數<的形式為項目類型>名稱<組件>名稱(例如系統、繪圖、設計、工具箱項目、System.Drawing.Design)。

適用於

ToolboxItemAttribute(Type)

來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs
來源:
ToolboxItemAttribute.cs

使用指定工具箱項目的類型初始化該類別的新實例 ToolboxItemAttribute

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

參數

toolboxItemType
Type

工具箱物品的種類。

適用於