TypeConverter.GetPropertiesSupported メソッド

定義

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

オーバーロード

GetPropertiesSupported(ITypeDescriptorContext)

指定したコンテキストを使用して、このオブジェクトがプロパティをサポートするかどうかを返します。

GetPropertiesSupported()

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

GetPropertiesSupported(ITypeDescriptorContext)

指定したコンテキストを使用して、このオブジェクトがプロパティをサポートするかどうかを返します。

public:
 virtual bool GetPropertiesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public virtual bool GetPropertiesSupported (System.ComponentModel.ITypeDescriptorContext context);
public virtual bool GetPropertiesSupported (System.ComponentModel.ITypeDescriptorContext? context);
abstract member GetPropertiesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
override this.GetPropertiesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overridable Function GetPropertiesSupported (context As ITypeDescriptorContext) As Boolean

パラメーター

context
ITypeDescriptorContext

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

戻り値

このオブジェクトのプロパティを見つけるために true を呼び出す必要がある場合は GetProperties(Object)。それ以外の場合は false

注釈

このクラスに実装されると、このメソッドは常に false を返します。

注意 (継承者)

変換する型がプロパティをサポートしている場合は、このメソッドをオーバーライドします。

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

こちらもご覧ください

適用対象

GetPropertiesSupported()

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

public:
 bool GetPropertiesSupported();
public bool GetPropertiesSupported ();
member this.GetPropertiesSupported : unit -> bool
Public Function GetPropertiesSupported () As Boolean

戻り値

このオブジェクトのプロパティを見つけるために true を呼び出す必要がある場合は GetProperties(Object)。それ以外の場合は false

注釈

このクラスに実装されると、このメソッドは常に false を返します。

適用対象