CustomTypeDescriptor.GetAttributes Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
A típusleíró által képviselt típushoz tartozó egyéni attribútumok gyűjteményét adja vissza.
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
Válaszok
A AttributeCollection típus attribútumait tartalmazó. Az alapértelmezett érték a Empty.
Megvalósítás
Megjegyzések
Ha egy szülő egyéni típusú leírót ad át a CustomTypeDescriptor konstruktornak, a GetAttributes metódus meghívja a szülő megfelelő metódusát.