 | ValueSequenceTDataTypeElementValueConverterTSetConverters Method |
Sets custom value converters to support conversion from objects to user defined types.
Namespace: Aml.Engine.CAEXAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic void SetConverters(
Func<XElement, T> convertFrom,
Func<T, Object> convertTo
)
Public Sub SetConverters (
convertFrom As Func(Of XElement, T),
convertTo As Func(Of T, Object)
)
public:
void SetConverters(
Func<XElement^, T>^ convertFrom,
Func<T, Object^>^ convertTo
)
Parameters
- convertFrom FuncXElement, T
- The convert from.
- convertTo FuncT, Object
- The convert to.
See Also