ColorConverter.GetStandardValues(ITypeDescriptorContext) メソッド

定義

この検証コントロールがデザインされた対象のデータ型の標準値セットを含むコレクションを取得します。 データ型が値の標準セットをサポートしていない場合は、null が返されます。

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext? context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection

パラメーター

context
ITypeDescriptorContext

フォーマッタ コンテキスト。 このコンバーターが呼び出される環境に関する追加情報を抽出するには、このオブジェクトを使用します。 この値が null であるかどうかを常に確認してください。 また、コンテキスト オブジェクトのプロパティも null を返す場合があります。

戻り値

null または有効な値の標準セットを含むコレクション。 既定の実装では、常に null を返します。

適用対象