Freigeben über


HStringReference::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 HStringReference::Operator= Operator.

Moves the value of another HStringReference object to the current HStringReference object.

Syntax

HStringReference& operator=(HStringReference&& other) throw()  

Parameters

other
An existing HStringReference object.

Remarks

The value of the existing other object is copied to the current HStringReference object, and then the other object is destroyed.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

HStringReference Class