다음을 통해 공유


HandleT::Detach Method

 

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::Detach Method.

Disassociates the current HandleT object from its underlying handle.

Syntax

typename HandleTraits::Type Detach();  

Return Value

The underlying handle.

Remarks

When this operation completes, the current HandleT is set to the invalid state.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

HandleT Class