Fill the CXlOper with a formatted string (like sprintf() and CString::Format())
BOOL Format( const char* lpszFormat, ... ); BOOL Format( const wchar_t* lpwszFormat, ... ); BOOL Format( UINT idFormat, ... ); |
A formatting string, exactly like those used by sprintf.
The values to be substituted into the output string in place of the tokens in the template string.
A formatting string, exactly like those used by sprintf.
The resource ID of a formatting string, exactly like those used by sprintf.
The function always returns FALSE;
The Format function places a string into the CXlOper which calls it. The string is formatted using the template string in exactly the same way as sprintf(). For example:
CXlOper xloResult; xloResult.Format("Result code %d", rc);
CXlOper::GetDims() Example | CXlOper::AllocArray() Example
Header: xllplus.h