IValueMappingTryMap Method |
Maps the specified source value to an instance of the specified destination type.
Namespace:
TB.ComponentModel
Assembly:
UniversalTypeConverter (in UniversalTypeConverter.dll) Version: 2.0.0
Syntax bool TryMap(
Object sourceValue,
Type destinationType,
out Object destinationValue
)
Parameters
- sourceValue
- Type: SystemObject
The value to map. - destinationType
- Type: SystemType
The destination type to map to. - destinationValue
- Type: SystemObject
An instance of the specified destination type if the mapping succeeded.
Return Value
Type:
Booleantrue if the mapping succeeded; otherwise, false.
See Also