CollectionConverter.GetPropertiesSupported(ITypeDescriptorContext) メソッド

定義

このオブジェクトがプロパティをサポートしているかどうかを示す値を取得します。

public:
 override bool GetPropertiesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetPropertiesSupported (System.ComponentModel.ITypeDescriptorContext context);
override this.GetPropertiesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetPropertiesSupported (context As ITypeDescriptorContext) As Boolean

パラメーター

context
ITypeDescriptorContext

書式指定コンテキストを提供する ITypeDescriptorContext

戻り値

このオブジェクトのプロパティを見つけるために GetProperties(ITypeDescriptorContext, Object, Attribute[]) を呼び出すことはできないので、false。 このメソッドが true を返すことはありません。

注釈

context パラメーターを使用すると、このコンバーターが呼び出されている環境についての追加情報を抽出できます。 これは null の場合があるため、常に確認してください。 また、コンテキスト オブジェクトのプロパティも null を返す場合があります。

コレクションはプロパティをサポートしていません。そのため、このメソッドは常に を返します false

適用対象

こちらもご覧ください