FontConverter.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);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object? value, Attribute[]? attributes);
public override System.ComponentModel.PropertyDescriptorCollection? GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object value, 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[]

プロパティを説明する Attribute オブジェクトの配列。

戻り値

このデータ型で公開する必要があるプロパティ セット。 プロパティを公開する必要がない場合は、null を返すことがあります。 既定の実装では、常に null を返します。

このメソッドの簡単な実装を用意すると、適切なデータ型の GetProperties メソッドを呼び出すことができます。

適用対象