VirtualizationCacheLengthConverter.CanConvertTo Método

Definição

Determina se o VirtualizationCacheLengthConverter pode converter a VirtualizationCacheLength para o tipo especificado.

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 converter.

Devoluções

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

Observações

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

Aplica-se a