다음을 통해 공유


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

Moves the value of the specified HandleT object to the current HandleT object.

Syntax

HandleT& operator=(  
   _Inout_ HandleT&& h  
);  

Parameters

h
An rvalue-reference to a handle.

Return Value

A reference to the current HandleT object.

Remarks

This operation invalidates the HandleT object specified by parameter h.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

HandleT Class