EditorAttribute コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
EditorAttribute クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| EditorAttribute() |
エディターのない既定のエディターを使用して、 EditorAttribute クラスの新しいインスタンスを初期化します。 |
| EditorAttribute(String, String) |
エディターの型名と基本型名を使用して、 EditorAttribute クラスの新しいインスタンスを初期化します。 |
| EditorAttribute(String, Type) |
型名と基本型を使用して、 EditorAttribute クラスの新しいインスタンスを初期化します。 |
| EditorAttribute(Type, Type) |
型と基本型を使用して、 EditorAttribute クラスの新しいインスタンスを初期化します。 |
EditorAttribute()
エディターのない既定のエディターを使用して、 EditorAttribute クラスの新しいインスタンスを初期化します。
public:
EditorAttribute();
public EditorAttribute();
Public Sub New ()
適用対象
EditorAttribute(String, String)
エディターの型名と基本型名を使用して、 EditorAttribute クラスの新しいインスタンスを初期化します。
public:
EditorAttribute(System::String ^ typeName, System::String ^ baseTypeName);
public EditorAttribute(string typeName, string? baseTypeName);
public EditorAttribute(string typeName, string baseTypeName);
new System.ComponentModel.EditorAttribute : string * string -> System.ComponentModel.EditorAttribute
Public Sub New (typeName As String, baseTypeName As String)
パラメーター
- typeName
- String
エディターの完全修飾型名。
- baseTypeName
- String
エディターの参照キーとして使用する基底クラスまたはインターフェイスの完全修飾型名。 このクラスは、 UITypeEditorである必要があります。または、から派生している必要があります。
注釈
typeName パラメーターは、Type.AssemblyQualifiedName形式である必要があります。
Type パラメーターによって表されるtypeNameは、基底クラスから派生するか、基底クラスを実装する必要があります。
データ型には複数のエディターを関連付けることができるため、Type パラメーターによって表されるbaseTypeNameは、特定のエディターを検索するためのキーとして使用されます。 これは任意のクラスでもかまいませんが、通常は UITypeEditor または ComponentEditorです。
適用対象
EditorAttribute(String, Type)
型名と基本型を使用して、 EditorAttribute クラスの新しいインスタンスを初期化します。
public:
EditorAttribute(System::String ^ typeName, Type ^ baseType);
public EditorAttribute(string typeName, Type baseType);
new System.ComponentModel.EditorAttribute : string * Type -> System.ComponentModel.EditorAttribute
Public Sub New (typeName As String, baseType As Type)
パラメーター
- typeName
- String
エディターの完全修飾型名。
- baseType
- Type
エディターの参照キーとして使用する基底クラスまたはインターフェイスの Type 。 このクラスは、 UITypeEditorである必要があります。または、から派生している必要があります。
注釈
typeName パラメーターは、Type.AssemblyQualifiedName形式である必要があります。
Typeによって表されるtypeNameは、基底クラスから派生するか、基底クラスを実装する必要があります。
baseType パラメーターは、データ型に複数のエディターを関連付けることができるため、特定のエディターを検索するためのキーとして使用されます。
適用対象
EditorAttribute(Type, Type)
型と基本型を使用して、 EditorAttribute クラスの新しいインスタンスを初期化します。
public:
EditorAttribute(Type ^ type, Type ^ baseType);
public EditorAttribute(Type type, Type baseType);
new System.ComponentModel.EditorAttribute : Type * Type -> System.ComponentModel.EditorAttribute
Public Sub New (type As Type, baseType As Type)
パラメーター
- baseType
- Type
エディターの参照キーとして使用する基底クラスまたはインターフェイスの Type 。 このクラスは、 UITypeEditorである必要があります。または、から派生している必要があります。
注釈
Type パラメーターによって表されるtypeは、基底クラスから派生するか、基底クラスを実装する必要があります。
baseType パラメーターは、データ型に複数のエディターを関連付けることができるため、特定のエディターを検索するためのキーとして使用されます。