CustomTypeDescriptor.GetAttributes Metoda

Definicja

Zwraca kolekcję atrybutów niestandardowych dla typu reprezentowanego przez deskryptor tego typu.

public:
 virtual System::ComponentModel::AttributeCollection ^ GetAttributes();
public virtual System.ComponentModel.AttributeCollection GetAttributes ();
abstract member GetAttributes : unit -> System.ComponentModel.AttributeCollection
override this.GetAttributes : unit -> System.ComponentModel.AttributeCollection
Public Overridable Function GetAttributes () As AttributeCollection

Zwraca

Element AttributeCollection zawierający atrybuty typu. Wartość domyślna to Empty.

Implementuje

Uwagi

Jeśli deskryptor niestandardowego typu nadrzędnego został przekazany do CustomTypeDescriptor konstruktora, GetAttributes metoda wywoła odpowiednią metodę elementu nadrzędnego.

Dotyczy

Zobacz też