GeometryConverter.ConvertTo メソッド

定義

指定した Geometry を指定した型に変換します。

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

パラメーター

context
ITypeDescriptorContext

変換に必要なコンテキスト情報。

culture
CultureInfo

変換時に尊重するカルチャ情報。

value
Object

変換対象の Geometry

destinationType
Type

Geometry を変換した後の型。

戻り値

Object

この Geometry の変換によって作成されたオブジェクト。

例外

value is null or is not a Geometry, or the destinationType cannot be converted into a Geometry.

適用対象