_bstr_t::GetBSTR
Visual Studio 2015
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 _bstr_t::GetBSTR.
Microsoft Specific**
Points to the beginning of the BSTR wrapped by the _bstr_t.
BSTR& GetBSTR( );
The beginning of the BSTR wrapped by the _bstr_t.
GetBSTR affects all _bstr_t objects that share a BSTR. More than one _bstr_t can share a BSTR through the use of the copy constructor and and operator=.
See _bstr_t::Assign for an example using GetBSTR.
END Microsoft Specific
Show: