Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 1.03 KB

File metadata and controls

59 lines (50 loc) · 1.03 KB
title _bstr_t::Detach | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
_bstr_t::Detach
dev_langs
C++
helpviewer_keywords
Detach method
ms.assetid cc8284bd-f68b-4fff-b2e6-ce8354dabf8b
caps.latest.revision 6
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

_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

The BSTR wrapped by the _bstr_t.

Example

See _bstr_t::Assign for a example using Detach.

END Microsoft Specific

See Also

_bstr_t Class