IComNativeDescriptorHandler.GetProperties(Object, Attribute[]) Metod

Definition

Hämtar egenskaperna med de angivna attributen för den angivna komponenten.

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

Parametrar

component
Object

Komponenten som du vill hämta händelser för.

attributes
Attribute[]

Attributen som används för att filtrera egenskaper.

Returer

En samling egenskapsbeskrivningar för component.

Kommentarer

Note

Det här API:et är nu föråldrat. Det icke-föråldrade alternativet är ComObjectType.

Gäller för