| description | Learn more about: _bstr_t::Detach | |
|---|---|---|
| title | _bstr_t::Detach | |
| ms.date | 02/02/2021 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
Microsoft Specific
Returns the BSTR wrapped by a _bstr_t and detaches the BSTR from the _bstr_t.
BSTR Detach( ) throw;Returns the BSTR encapsulated by the _bstr_t.
See _bstr_t::Assign for an example that uses Detach.
END Microsoft Specific