_variant_t::Detach
Microsoft Specific
Detaches the encapsulated VARIANT
object from this _variant_t
object.
Syntax
VARIANT Detach( );
Return Value
The encapsulated VARIANT
.
Remarks
Extracts and returns the encapsulated VARIANT
, then clears this _variant_t
object without destroying it. This member function removes the VARIANT
from encapsulation and sets the VARTYPE
of this _variant_t
object to VT_EMPTY. It is up to you to release the returned VARIANT
by calling the VariantClear function.
END Microsoft Specific
See also
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ