RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideString::Detach Method

System::WideString::Detaches theSystem::WideString::WideString from a BSTR that was previously attached using the Attach method.

Pascal
function Detach: WideString;
C++
__fastcall BSTR Detach();

Call System::WideString::Detach to undo the association set up by a call to the Attach method. System::WideString::Detach returns the BSTR that is no longer associated with theSystem::WideString::WideString.

Note: BSTR values are used with COM objects. Do not use COM objects in platform-independent applications, since COM is only available under Windows.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!