Sdílet prostřednictvím


Point3DConverter.CanConvertTo(ITypeDescriptorContext, Type) Metoda

Definice

Určuje, zda lze instanci Point3D struktury 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, který tato Point3D struktura vyhodnocuje pro převod.

Návraty

Boolean

Určuje, zda lze tuto Point3D strukturu převést na destinationType.

Hodnota Význam
false (nepravda) Převaděč nemůže tuto Point3D strukturu převést na zadaný typ.
true Převaděč může tuto strukturu převést Point3D na zadaný typ.

Platí pro