ConvertThroughString.CanConvertFrom(Object, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.