Partager via


COleVariant Members

Construction

COleVariant

Constructs a COleVariant object.

Operations

Attach

Attaches a VARIANT to a COleVariant.

ChangeType

Changes the variant type of this COleVariant object.

Clear

Clears this COleVariant object.

Detach

Detaches a VARIANT from a COleVariant and returns the VARIANT.

GetByteArrayFromVariantArray

Retrieves a byte array from an existing variant array.

SetString

Sets the string to a particular type, typically ANSI.

Operators

operator =

Copies a COleVariant value.

operator ==

Compares two COleVariant values.

operator LPCVARIANT

Converts a COleVariant value into an LPCVARIANT.

operator LPVARIANT

Converts a COleVariant object into an LPVARIANT.

Archive/Dump

operator <<

Outputs a COleVariant value to CArchive or CDumpContext.

operator >>

Inputs a COleVariant object from CArchive.

See Also

Reference

COleVariant Class

Hierarchy Chart