Sdílet prostřednictvím


VectorConverter.CanConvertTo(ITypeDescriptorContext, Type) Metoda

Definice

Určuje, zda je možné převést instance Vector 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

Popisuje kontextové informace typu.

destinationType
Type

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

Návraty

Boolean

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

Platí pro