System.WideString.operator =
C++
WideString& operator =(const WideString& rhs);
WideString& operator =(BSTR rhs);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | wstring.h | System | WideString |
Description
Assigns the value of the WideString to equal a source string.
Use the assignment operator = to set the value of the WideString to match the string given by rhs.
Note: BSTR values are used with COM objects. Do not use COM objects in platform-independent applications, because COM is only available under Windows.