Converts a single value from Excel format to a native type
virtual bool ConvertFromExcel( const XlNativeType& xlValue, ElemType& outerValue, const CConvertParamsBase& params ) const; |
A reference to a value extracted from the Excel argument.
This needs to be converted to type ElemType
A reference to a the target value. If the conversion succeeds, this should be set to the converted value.
The conversion parameters supplied for the conversion. These include the argument name, and any extended type parameters set by the developer when the argument was specified.
Returns true if the conversion succeeds, and outerValue has been read from xlValue and set to a valid value. Returns false if the conversion fails.
TODO
TODO - CXlUserConversionException
Header: xlpconvert.h
CXlUserConverterBase<ElemType, XlNativeType> Class | CXlUserConverterBase<ElemType, XlNativeType> Methods