IComNativeDescriptorHandler.GetProperties(Object, Attribute[]) Metoda

Definicja

Pobiera właściwości z określonymi atrybutami dla określonego składnika.

public:
 System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[] attributes);
public System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[]? attributes);
abstract member GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Parametry

component
Object

Składnik do pobierania zdarzeń.

attributes
Attribute[]

Atrybuty używane do filtrowania właściwości.

Zwraca

Kolekcja deskryptorów właściwości dla elementu component.

Uwagi

Uwaga

Ten interfejs API jest teraz przestarzały. Nie przestarzałą alternatywą jest ComObjectType.

Dotyczy