Determines whether an instance of ICommand can be converted to the specified type.

Namespace:  C1.Phone
Assembly:  C1.Phone (in C1.Phone.dll)

Syntax

C#
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)
Visual Basic
Public Overrides Function CanConvertTo ( _
	context As ITypeDescriptorContext, _
	destinationType As Type _
) As Boolean

Parameters

context
Type: System.ComponentModel..::..ITypeDescriptorContext
A format context that provides information about the environment from which this converter is being invoked.
destinationType
Type: System..::..Type
The type being evaluated for conversion.

Return Value

True if this converter can perform the operation; otherwise, False.

See Also