次の方法で共有


ToolboxItemAttribute コンストラクター

定義

ToolboxItemAttribute クラスの新しいインスタンスを初期化し、既定の初期化値を使用するかどうかを指定します。

オーバーロード

名前 説明
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.ToolboxItem、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

ツールボックス項目の種類。

適用対象