Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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