Dela via


ConvertThroughString.CanConvertFrom(Object, Type) Method

Definition

This will return false only if sourceValue is string.

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

Parameters

sourceValue
Object

Value to convert from.

destinationType
Type

Ignored.

Returns

False only if sourceValue is string.

Applies to