ICustomTypeDescriptor.GetAttributes Metoda

Definicja

Zwraca kolekcję atrybutów niestandardowych dla tego wystąpienia składnika.

public:
 System::ComponentModel::AttributeCollection ^ GetAttributes();
public System.ComponentModel.AttributeCollection GetAttributes ();
abstract member GetAttributes : unit -> System.ComponentModel.AttributeCollection
Public Function GetAttributes () As AttributeCollection

Zwraca

Obiekt AttributeCollection zawierający atrybuty tego obiektu.

Uwagi

Wartość zwracana nigdy nie nulljest .

Implementatory mogą zwracać puste, AttributeCollection jeśli nie określono atrybutów niestandardowych dla obiektu.

Dotyczy

Zobacz też