PointConverter.CanConvertTo(ITypeDescriptorContext, Type) Metoda

Definice

Určuje, zda lze instanci objektu Point převést na jiný 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

Popisuje kontextové informace typu.

destinationType
Type

Požadovaný typ se Point vyhodnocuje pro převod.

Návraty

Boolean

true je-li to Point možné převést na destinationType; v opačném případě false.

Platí pro