This topic has not yet been rated - Rate this topic

_bstr_t::Detach

Microsoft Specific

Returns the BSTR wrapped by a _bstr_t and detaches the BSTR from the _bstr_t.

BSTR Detach( ) throw;

The BSTR wrapped by the _bstr_t.

See _bstr_t::Assign for a example using Detach.

END Microsoft Specific

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.