IComNativeDescriptorHandler.GetProperties(Object, Attribute[]) Метод

Определение

Возвращает свойства с указанными атрибутами для указанного компонента.

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

Параметры

component
Object

Компонент для получения событий.

attributes
Attribute[]

Атрибуты, используемые для фильтрации свойств.

Возвращаемое значение

Коллекция дескрипторов свойств для component.

Комментарии

Note

Теперь этот API устарел. Не является устаревшей альтернативой ComObjectType.

Применяется к