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í hodnota je Empty.

Implementuje

Poznámky

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

Platí pro

Viz také