Language

VirtualizationCacheLengthConverter.CanConvertTo メソッド

定義

VirtualizationCacheLengthConverterが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

パラメーター

typeDescriptorContext
ITypeDescriptorContext

書式コンテキストを提供するオブジェクト。

destinationType
Type

変換する型。

返品

true VirtualizationCacheLengthConverterが指定した型にVirtualizationCacheLengthを変換できる場合は。それ以外の場合はfalse。

注釈

CanConvertToがtrueまたはdestinationTypeの場合、String メソッドはInstanceDescriptorを返します。 それ以外の場合、 CanConvertTo は falseを返します。

適用対象