Transform a single value of extended type into a CXlOper
template< class T, class XLT > void XlWriteScalarEx( const T& value, CXlOper& xlo, const CXlUserConverterBase<T, XLT>& outerConverter ); |
A reference to an input variable containing an extended type value.
A reference to a CXlOper which will be set to value
,
if the conversion is successful.
An instance of the extended type's converter class. See CXlUserConverterBase for details.
If the converter class does not implement ConvertToExcel() then this method will fail, and an exception of type CXlConversionException will be thrown.
If the function fails for any reason, an exception of type CXlConversionException is thrown. This will be caught by the outer wrapper function, and converted into an appropriate form to be returned to Excel.
Header: xlpconvert.h