XLL+ Class Library (6.3)

CXlStringArg::operator =

Assigns a new value to the CXlArgString

const CXlStringArg& operator =(
   const CXlStringArg& source
);
const CXlStringArg& operator =(
   std::string& str
);
const CXlStringArg& operator =(
   std::wstring& wstr
);
const CXlStringArg& operator =(
   const char* psz
);
const CXlStringArg& operator =(
   const wchar_t* wpsz
);

Parameters

source

An initialised CXlStringArg, whose contents will be copied to this object.

str

A reference to an STL string.

wstr

A reference to an STL wide string.

psz

A pointer to an array of ANSI characters.

wpsz

A pointer to an array of Unicode characters.

Remarks

These operators assign a new value to CXlStringArg object. If the item already contains data, then it will be appropriately cleared before the assignment.

Requirements

Header: xlpstringarg.h

See Also

CXlStringArg Class | CXlStringArg Methods