Assigns a string value and data type to the CXlCell
void FromString( const char* psz ); void FromString( const std::string& str ); void FromString( const wchar_t* wpsz ); void FromString( const std::wstring& wstr ); |
Value to be applied to the CXlCell. Note that under Excel 2007 and above, the string will be converted to Unicode.
STL ASCII string to be applied to the CXlCell. Note that under Excel 2007 and above, the string will be converted to Unicode.
A null-terminated Unicode string which will be copied to the CXlCell. Note that under Excel 2003 and below, the string will be converted to a multibyte character ASCII string, and limited to 255 bytes.
A reference to an STL Unicode string which will be copied to the CXlCell. Note that under Excel 2003 and below, the string will be converted to a multibyte character ASCII string, and limited to 255 bytes.
This function assigns the value of psz to the CXlCell, and sets the type of the CXlCell to be xltypeStr.
Header: xllplus.h