GeometryConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Determines whether instances of Geometry can be converted to the specified type.

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

Parameters

context
ITypeDescriptorContext

Context information required for conversion.

destinationType
Type

The desired type this Geometry is being evaluated to be converted to.

Returns

true if instances of Geometry can be converted to destinationType; otherwise, false.

Applies to