CComVariant Methods

The following CComVariant methods have been added or changed since ATL 1.1:

Method Description
Attach Attaches a VARIANT to the CComVariant object.
CComVariant The constructor takes additional parameter types.
ChangeType Converts the CcomVariant object to a new type.
Clear Clears the CcomVariant object.
Copy Copies a VARIANT to the CcomVariant object.
Detach Detaches the underlying VARIANT from the CComVariant object.
ReadFromStream Loads the CComVariant object from a stream.
WriteToStream Saves the CComVariant object to a stream.
operator = Takes additional parameter types.