ConverterGroup.TryConvert

Declaration

public 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 only the converter group.


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