IComNativeDescriptorHandler.GetProperties(Object, Attribute[]) Metódus

Definíció

Lekéri a megadott összetevőhöz megadott attribútumokkal rendelkező tulajdonságokat.

public:
 System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <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

Paraméterek

component
Object

Az az összetevő, amely eseményeket szeretne lekérni.

attributes
Attribute[]

A tulajdonságok szűréséhez használt attribútumok.

Válaszok

Tulajdonságleírók gyűjteménye a következőhöz component: .

Megjegyzések

Note

Ez az API már elavult. A nem elavult alternatíva a ComObjectType.

A következőre érvényes: