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 を返します。

適用対象