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

Disassociates the specified HString object from its underlying value.

Syntax

HSTRING Detach
() throw
()  

Return Value

The underlying HString value before the detach operation started.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

HString Class