Aracılığıyla paylaş


VirtualizationCacheLengthConverter.CanConvertTo Yöntem

Tanım

öğesinin VirtualizationCacheLengthConverter öğesini VirtualizationCacheLength belirtilen türe dönüştürip dönüştüremeyeceğini belirler.

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

Parametreler

typeDescriptorContext
ITypeDescriptorContext

Biçim bağlamı sağlayan bir nesne.

destinationType
Type

Dönüştürülecek tür.

Döndürülenler

Boolean

true , a'yı VirtualizationCacheLengthConverter VirtualizationCacheLength belirtilen türe dönüştürebiliyorsa; aksi takdirde , false.

Açıklamalar

yöntemi CanConvertTo veya InstanceDescriptorise destinationType String döndürürtrue. Aksi takdirde döndürür CanConvertTo false.

Şunlara uygulanır