แก้ไข

แชร์ผ่าน


RequestCachePolicyConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Returns a value that indicates whether this converter can convert the object to the specified type, using the specified context.

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

Parameters

typeDescriptorContext
ITypeDescriptorContext

The format context.

destinationType
Type

The type being queried for support.

Returns

true if this converter can perform the conversion; otherwise, false.

Remarks

CanConvertTo is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to