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