MatchProcessingBehaviorTypeConverter.CanConvertTo(Object, Type) Method

Definition

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

public override bool CanConvertTo (object sourceValue, Type destinationType);
override this.CanConvertTo : obj * Type -> bool
Public Overrides Function CanConvertTo (sourceValue As Object, destinationType As Type) As Boolean

Parameters

sourceValue
Object

the Object to convert from

destinationType
Type

the Type to convert to

Returns

true if the converter can convert the sourceValue parameter to the destinationType parameter, otherwise false.

Applies to