_variant_t Class
Microsoft Specific
A _variant_t object encapsulates the VARIANT data type. The class manages resource allocation and deallocation and makes function calls to VariantInit and VariantClear as appropriate.
Construction
Constructs a _variant_t object. |
Operations
Attaches a VARIANT object into the _variant_t object. |
|
Clears the encapsulated VARIANT object. |
|
Changes the type of the _variant_t object to the indicated VARTYPE. |
|
Detaches the encapsulated VARIANT object from this _variant_t object. |
|
Assigns a string to this _variant_t object. |
Operators
Assigns a new value to an existing _variant_t object. |
|
Compare two _variant_t objects for equality or inequality. |
|
Extract data from the encapsulated VARIANT object. |
END Microsoft Specific
Requirements
Header: comutil.h
Lib: comsuppw.lib or comsuppwd.lib (see /Zc:wchar_t (wchar_t Is Native Type) for more information)