Langue

VirtualizationCacheLengthConverter.CanConvertTo Méthode

Définition

Détermine si le VirtualizationCacheLengthConverter type spécifié peut être converti VirtualizationCacheLength .

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

Paramètres

typeDescriptorContext
ITypeDescriptorContext

Objet qui fournit un contexte de format.

destinationType
Type

Type vers lequel effectuer la conversion.

Retours

true si la VirtualizationCacheLengthConverter valeur peut convertir un VirtualizationCacheLength type spécifié ; sinon, false.

Remarques

La CanConvertTo méthode retourne true si destinationType elle est String ou InstanceDescriptor. Sinon, CanConvertTo retourne false.

S’applique à