XLL+ Class Library (6.3)

CXlOper::ToString

Returns a string value

CString ToString(
   bool bStrict = FALSE
) const;

Parameters

bStrict

If bStrict is false (the default) then, if the CXlOper 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 CXlOper contains a string.

Return Value

This function returns the string value contained in a CXlOper.

Example

CXlOper::ToString() Example

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods