ColorTypeConverter.GetProperties メソッド

定義

指定した型のプロパティ説明のコレクションを取得します。

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ value, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] attributes);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, value As Object, attributes As Attribute()) As PropertyDescriptorCollection

パラメーター

context
ITypeDescriptorContext

コンテキスト情報を提供するオブジェクト。

value
Object

プロパティ説明が必要な型のオブジェクト。

attributes
Attribute[]

無関係のプロパティを除外するために、返されたコレクションをフィルター処理する属性の配列。

戻り値

PropertyDescriptorCollection

コンポーネントに対して公開されているプロパティ説明を含む PropertyDescriptorCollection。プロパティ説明が返されない場合は、null

例外

このメソッドは、派生クラスからではなく、このクラスから呼び出されます。

注釈

このメソッドは、例外をスローすることを除いて、このクラスには実装されません。 継承者に関するメモを 参照してください。

注意 (継承者)

型の選択した PropertyDescriptor オブジェクトを取得するメソッドを指定するには、このメソッドをオーバーライドします。 コンバーターが呼び出される環境に関する追加情報を抽出するには、context パラメーターを使用します。 配列を使用して、 attributes 含めるプロパティまたは除外するプロパティを指定します。

適用対象