MarginConverter..::..CanConvertTo Method

Returns whether this converter can convert the object to the specified type, using the specified context.

Namespace:  Squid
Assembly:  Squid.Core (in Squid.Core.dll)

Syntax


public bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)
Public Function CanConvertTo ( _
	context As ITypeDescriptorContext, _
	destinationType As Type _
) As Boolean
public:
bool^ CanConvertTo(
	ITypeDescriptorContext^ context, 
	Type^ destinationType
)

Parameters

context
Type: ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
destinationType
Type: Type
A Type that represents the type you want to convert to.

Return Value

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