GeometryConverter.CanConvertTo(ITypeDescriptorContext, Type) メソッド

定義

Geometry のインスタンスを指定した型に変換できるかどうかを判断します。

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

パラメーター

context
ITypeDescriptorContext

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

destinationType
Type

この Geometry が変換元として評価される際に、変換先となる目的の型。

戻り値

Geometry のインスタンスを destinationType に変換できる場合は true。それ以外の場合は false

適用対象