VirtualizationCacheLengthConverter.CanConvertTo Método

Definição

Determina se o VirtualizationCacheLengthConverter tipo especificado pode converter um 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

Parâmetros

typeDescriptorContext
ITypeDescriptorContext

Um objeto que fornece um contexto de formato.

destinationType
Type

O tipo para o qual converter.

Retornos

true se puder VirtualizationCacheLengthConverter converter um VirtualizationCacheLength para o tipo especificado; caso contrário, false.

Comentários

O CanConvertTo método retorna true se destinationType for String ou InstanceDescriptor. Caso contrário, CanConvertTo retornará false.

Aplica-se a