ColorConverter.GetStandardValues(ITypeDescriptorContext) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この検証コントロールが設計されているデータ型の標準値のセットを含むコレクションを取得します。 データ型が標準の値セットをサポートしていない場合は、 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 を返します。