Share via


CustomTypeDescriptor.GetAttributes Metoda

Definice

Vrátí kolekci vlastních atributů pro typ reprezentovaný tímto popisovačem 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

Návraty

Obsahuje AttributeCollection atributy pro typ. Výchozí formát je Empty.

Implementuje

Poznámky

Pokud byl nadřazený popisovač vlastního typu předán CustomTypeDescriptor konstruktoru GetAttributes , metoda zavolá odpovídající metodu nadřazeného objektu.

Platí pro

Viz také