Edytuj

Udostępnij za pośrednictwem


CacheModeConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Determines whether this CacheModeConverter can convert a CacheMode to an instance of a specified type, using the specified context.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameters

context
ITypeDescriptorContext

A ITypeDescriptorContext that provides a format context.

destinationType
Type

A type representing the type to convert to.

Returns

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

Applies to