Share via


VectorCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) Metoda

Definice

Určuje, zda lze instanci objektu VectorCollection 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

Kontextové informace typu.

destinationType
Type

Požadovaný typ, u kterého tento VectorCollection typ vyhodnocujete pro převod.

Návraty

truepokud je možné ji VectorCollection převést na destinationType; v opačném případě . false

Platí pro