Rediger

Del via


RequestCachePolicyConverter.CanConvertFrom Method

Definition

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

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ td, Type ^ t);
public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext td, Type t);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (td As ITypeDescriptorContext, t As Type) As Boolean

Parameters

td
ITypeDescriptorContext

The format context.

t
Type

The type to convert from.

Returns

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

Remarks

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

Applies to