ControlIDConverter.GetStandardValues(ITypeDescriptorContext) メソッド

定義

書式指定コンテキストが指定されている場合に、IDesignerHost 内のコンテナーからコントロール ID のコレクションを返します。

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

現在のコンテナー内にあるコントロールのコントロール ID を表す文字列セットを保持している TypeConverter.StandardValuesCollection。 コントロールが現在格納されていない場合は、空のコレクションが返されます。 コンテキストが null、または現在のコンテナーがない場合は、null が返されます。

注釈

このメソッドは FilterControl 、コンテナー内の各コントロールで呼び出されます。 コントロール ID は、メソッドが返す TypeConverter.StandardValuesCollection 場合にのみ追加されます true

適用対象

こちらもご覧ください