HString::Operator= Operator
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at HString::Operator= Operator.
Moves the value of another HString object to the current HString object.
Syntax
HString& operator=(HString&& other) throw()
Parameters
other
An existing HString object.
Remarks
The value of the existing other
object is copied to the current HString object, and then the other
object is destroyed.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers