_bstr_t::Detach
Microsoft Specific
Returns the BSTR
wrapped by a _bstr_t
and detaches the BSTR
from the _bstr_t
.
Syntax
BSTR Detach( ) throw;
Return Value
Returns the BSTR
encapsulated by the _bstr_t
.
Example
See _bstr_t::Assign
for an example that uses Detach
.
END Microsoft Specific
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for