Share via


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

Associates the specified HString object with the current HString object.

Syntax

  
void Attach(  
       HSTRING hstr  
       ) throw()  

Parameters

hstr
An existing HString object.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

HString Class