Share via


IComNativeDescriptorHandler.GetProperties(Object, Attribute[]) Yöntem

Tanım

Belirtilen bileşen için belirtilen özniteliklere sahip özellikleri alır.

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

Parametreler

component
Object

Olayları almak için bileşen.

attributes
Attribute[]

Özellikleri filtrelemek için kullanılan öznitelikler.

Döndürülenler

için componentözellik tanımlayıcıları koleksiyonu.

Açıklamalar

Not

Bu API artık kullanılmıyor. Eski olmayan alternatif ise şeklindedir ComObjectType.

Şunlara uygulanır