GeometryConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) GeometryConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) GeometryConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) GeometryConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method

定義

指定したオブジェクトを Geometry に変換します。Converts the specified object to a Geometry.

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);
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 ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

変換に必要なコンテキスト情報。Context information required for conversion.

culture
CultureInfo CultureInfo CultureInfo CultureInfo

変換時に尊重するカルチャ情報。Cultural information respected during conversion.

value
Object Object Object Object

変換されるオブジェクト。The object being converted.

戻り値

value の変換によって作成された GeometryThe Geometry created from converting value.

例外

valuenull であるか、または Geometry に変換できる有効な型ではない場合にスローされます。Thrown if value is null or is not a valid type which can be converted to a Geometry.

注釈

実際には、変換を実行せず、変換が可能かどうかを調べるには、CanConvertFromメソッド。To determine whether a conversion is possible without actually performing the conversion, use the CanConvertFrom method.

適用対象