EditorAttribute コンストラクター

定義

EditorAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

EditorAttribute()

既定のエディターを指定して、EditorAttribute クラスの新しいインスタンスを初期化します。つまり、エディターは指定されません。

EditorAttribute(String, String)

エディターの型名と基本型名を指定して、EditorAttribute クラスの新しいインスタンスを初期化します。

EditorAttribute(String, Type)

型名と基本型を指定して、EditorAttribute クラスの新しいインスタンスを初期化します。

EditorAttribute(Type, Type)

型と基本型を指定して、EditorAttribute クラスの新しいインスタンスを初期化します。

EditorAttribute()

ソース:
EditorAttribute.cs
ソース:
EditorAttribute.cs
ソース:
EditorAttribute.cs

既定のエディターを指定して、EditorAttribute クラスの新しいインスタンスを初期化します。つまり、エディターは指定されません。

public:
 EditorAttribute();
public EditorAttribute ();
Public Sub New ()

適用対象

EditorAttribute(String, String)

ソース:
EditorAttribute.cs
ソース:
EditorAttribute.cs
ソース:
EditorAttribute.cs

エディターの型名と基本型名を指定して、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.cs
ソース:
EditorAttribute.cs
ソース:
EditorAttribute.cs

型名と基本型を指定して、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 必要があります。

によって表される はTypetypeName、 から派生するか、基底クラスを実装する必要があります。

パラメーターは baseType 、データ型に複数のエディターを関連付けることができるため、特定のエディターを検索するためのキーとして使用されます。

適用対象

EditorAttribute(Type, Type)

ソース:
EditorAttribute.cs
ソース:
EditorAttribute.cs
ソース:
EditorAttribute.cs

型と基本型を指定して、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)

パラメーター

type
Type

エディターの型を表す Type

baseType
Type

エディターを検索するためのキーとして使用する基本クラスまたは基本インターフェイスの Type。 このクラスは、UITypeEditor であるか、またはそこから派生している必要があります。

注釈

Typeパラメーターで表される は、 type から派生するか、基底クラスを実装する必要があります。

パラメーターは baseType 、データ型に複数のエディターを関連付けることができるため、特定のエディターを検索するためのキーとして使用されます。

適用対象