LinkArea.LinkAreaConverter.ConvertFrom メソッド

定義

特定のオブジェクトをコンバーターのネイティブな型に変換します。

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
public override object? ConvertFrom (System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

パラメーター

context
ITypeDescriptorContext

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

culture
CultureInfo

省略可能なカルチャ情報。 指定されなかった場合は、現在のカルチャが使用されます。

value
Object

変換対象のオブジェクト。

戻り値

Object

変換後のオブジェクト。 変換を実行できなかった場合は、例外がスローされます。

適用対象