CustomTypeDescriptor.GetAttributes Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.