ConverterGroups.TryConvert

Declaration

public static bool TryConvert(ref TSource source, out TDestination destination);

Parameters

source The source value to convert.
destination The converted destination value if the conversion succeeded, and the default value otherwise.

Returns

bool true if the conversion succeeded, and false otherwise.

Description

Converts the specified value from TSource to TDestination using the registered global converters.


Did you find this page useful? Please give it a rating: