CComVariant Members

Methods

Attach

Attaches a VARIANT to the CComVariant object.

CComVariant

The constructor.

~CComVariant

The destructor.

ChangeType

Converts the CComVariant object to a new type.

Clear

Clears the CComVariant object.

Copy

Copies a VARIANT to the CComVariant object.

CopyTo

Copies the contents of the CComVariant object.

Detach

Detaches the underlying VARIANT from the CComVariant object.

GetSize

Returns the size in number of bytes of the contents of the CComVariant object.

ReadFromStream

Loads a VARIANT from a stream.

SetByRef

Initializes the CComVariant object and sets the vt member to VT_BYREF.

WriteToStream

Saves the underlying VARIANT to a stream.

Operators

CComVariant::operator <

Indicates whether the CComVariant object is less than the specified VARIANT.

CComVariant::operator >

Indicates whether the CComVariant object is greater than the specified VARIANT.

operator !=

Indicates whether the CComVariant object does not equal the specified VARIANT.

operator =

Assigns a value to the CComVariant object.

operator ==

Indicates whether the CComVariant object equals the specified VARIANT.

See Also

Reference

CComVariant Class