CustomTypeDescriptor.GetAttributes Metod

Definition

Returnerar en samling anpassade attribut för den typ som representeras av den här typens beskrivning.

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

Returer

En AttributeCollection som innehåller attributen för typen. Standardvärdet är Empty.

Implementeringar

Kommentarer

Om en överordnad anpassad typbeskrivning skickades till CustomTypeDescriptor konstruktorn GetAttributes anropar metoden den överordnade metodens motsvarande metod.

Gäller för

Se även