XLL+ Class Library

COper::ToString

Returns a string value

[C++]
CString ToString(
   BOOL bStrict = FALSE
) const;

Parameters

bStrict

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

If bStrict is TRUE then the function will assert unless the COper contains a string.

Return value

This function returns the string value contained in a COper.

Example

COper::ToString() Example

Requirements

Header: xllplus.h

See Also

COper Class | COper Methods