EditorAttribute Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy EditorAttribute.

Przeciążenia

Nazwa Opis
EditorAttribute()

Inicjuje nowe wystąpienie EditorAttribute klasy przy użyciu edytora domyślnego, który nie jest edytorem.

EditorAttribute(String, String)

Inicjuje EditorAttribute nowe wystąpienie klasy o nazwie typu i nazwie podstawowego typu edytora.

EditorAttribute(String, Type)

Inicjuje EditorAttribute nowe wystąpienie klasy o nazwie typu i typie podstawowym.

EditorAttribute(Type, Type)

Inicjuje EditorAttribute nowe wystąpienie klasy z typem i typem podstawowym.

EditorAttribute()

Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs

Inicjuje nowe wystąpienie EditorAttribute klasy przy użyciu edytora domyślnego, który nie jest edytorem.

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

Dotyczy

EditorAttribute(String, String)

Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs

Inicjuje EditorAttribute nowe wystąpienie klasy o nazwie typu i nazwie podstawowego typu edytora.

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)

Parametry

typeName
String

W pełni kwalifikowana nazwa typu edytora.

baseTypeName
String

W pełni kwalifikowana nazwa typu klasy bazowej lub interfejsu do użycia jako klucz odnośnika dla edytora. Ta klasa musi być lub pochodzić z klasy UITypeEditor.

Uwagi

Parametr typeName musi być w Type.AssemblyQualifiedName formacie .

Reprezentowany Type przez typeName parametr musi pochodzić z lub zaimplementować klasę bazową.

Reprezentowany Type przez baseTypeName parametr jest używany jako klucz do znalezienia określonego edytora, ponieważ typ danych może mieć skojarzony więcej niż jeden edytor. Może to być dowolna klasa, ale zazwyczaj UITypeEditor lub ComponentEditor.

Dotyczy

EditorAttribute(String, Type)

Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs

Inicjuje EditorAttribute nowe wystąpienie klasy o nazwie typu i typie podstawowym.

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)

Parametry

typeName
String

W pełni kwalifikowana nazwa typu edytora.

baseType
Type

Klasa Type bazowa lub interfejs do użycia jako klucz odnośnika dla edytora. Ta klasa musi być lub pochodzić z klasy UITypeEditor.

Uwagi

Parametr typeName musi być w Type.AssemblyQualifiedName formacie .

Element Type reprezentowany przez element typeName musi pochodzić z lub zaimplementować klasę bazową.

Parametr baseType jest używany jako klucz do znalezienia określonego edytora, ponieważ typ danych może mieć skojarzony więcej niż jeden edytor.

Dotyczy

EditorAttribute(Type, Type)

Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs
Źródło:
EditorAttribute.cs

Inicjuje EditorAttribute nowe wystąpienie klasy z typem i typem podstawowym.

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)

Parametry

type
Type

Element Type reprezentujący typ edytora.

baseType
Type

Klasa Type bazowa lub interfejs do użycia jako klucz odnośnika dla edytora. Ta klasa musi być lub pochodzić z klasy UITypeEditor.

Uwagi

Reprezentowany Type przez type parametr musi pochodzić z lub zaimplementować klasę bazową.

Parametr baseType jest używany jako klucz do znalezienia określonego edytora, ponieważ typ danych może mieć skojarzony więcej niż jeden edytor.

Dotyczy