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);
abstract member GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection

パラメーター

component
Object

イベントを取得する対象のコンポーネント。

attributes
Attribute[]

プロパティのフィルター処理に使用される属性。

返品

componentのプロパティ記述子のコレクション。

注釈

この API は廃止されました。 廃止されていない代替手段は ComObjectType

適用対象