GeometryConverter.CanConvertTo(ITypeDescriptorContext, Type) Metoda

Definice

Určuje, zda mohou Geometry být instance převedeny na zadaný typ.

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

Parametry

context
ITypeDescriptorContext

Informace o kontextu vyžadované pro převod.

destinationType
Type

Požadovaný typ, Geometry na který se má tento typ převést.

Návraty

trueGeometry pokud je možné instance nástroje převést na destinationType; v opačném případě . false

Platí pro