XLL+ Class Library (7.0)


Returns a string value

CString ToString(
   bool bStrict = FALSE
) const;



If bStrict is false (the default) then, if the CXlConstCell does not contain a string, the function will safely return an appropriate converted string.

If bStrict is true then the function will throw an exception of type CXlConversionException unless the CXlConstCell contains a string.

Return Value

This function returns the string value contained in a CXlConstCell.


Header: xllplus.h

See Also

CXlConstCell Class | CXlConstCell Methods