FontTypeConverter.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 。プロパティの説明が返されない場合は null

例外

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

注釈

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

注意 (継承者)

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

適用対象