VirtualizationCacheLengthConverter.CanConvertFrom Méthode

Définition

Détermine si l’objet VirtualizationCacheLengthConverter peut convertir un objet du type spécifié en un VirtualizationCacheLength, à l’aide du contexte spécifié.

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

Paramètres

typeDescriptorContext
ITypeDescriptorContext

Objet qui fournit un contexte de format.

sourceType
Type

Type à convertir.

Retours

true si le VirtualizationCacheLengthConverter type spécifié peut être converti en un VirtualizationCacheLength; sinon, false.

Remarques

Il VirtualizationCacheLengthConverter peut convertir les types suivants en un VirtualizationCacheLength:

S’applique à