ToolboxItemAttribute コンストラクター

定義

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

オーバーロード

ToolboxItemAttribute(Boolean)

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

ToolboxItemAttribute(String)

指定した名前と型を使用して、ToolboxItemAttribute クラスの新しいインスタンスを初期化します。

ToolboxItemAttribute(Type)

指定したツールボックス項目の型を使用して、ToolboxItemAttribute クラスの新しいインスタンスを初期化します。

ToolboxItemAttribute(Boolean)

ソース:
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 クラスの新しいインスタンスを初期化します。

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 クラスの新しいインスタンスを初期化します。

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

パラメーター

toolboxItemType
Type

ツールボックス項目の型。

適用対象