XLL+ Class Library

COper::operator CString

Returns a string value

[C++]
operator CString() const;

Return value

This function returns the value of a string contained in a COper, and tries to convert it to a string if the COper contains any other data type.

If the COper is missing, empty or not a string then the function returns a blank string.

Example

COper::operator CString() Example

Requirements

Header: xllplus.h

See Also

COper Class | COper Methods