ImageKeyConverter.GetStandardValues(ITypeDescriptorContext) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したコンテキストに関連付けられているイメージ リストの標準イメージ キーのコレクションを返します。
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
形式コンテキストを提供する ITypeDescriptorContext 。これを使用して、この型コンバーターが呼び出されている環境に関する追加情報を抽出できます。 このパラメーターまたはこのパラメーターのプロパティは、 nullできます。
返品
イメージ キー値の標準セットを含む TypeConverter.StandardValuesCollection 。
注釈
イメージ リストが見つからない場合、 ImageKeyConverter が標準値として null をサポートしている場合、 GetStandardValues メソッドは 1 つの空の文字列を含むコレクションを返します。 イメージ リストが見つからず、 null が標準値としてサポートされていない場合、 GetStandardValues は空のコレクションを返します。