COM Vuser Functions (LRC) > Assignment to Variants

Assignment to Variants

The following functions assign string data to various types within variants:

Assigns an array of Type-Name to a variant.
Assigns a string to an ascii BSTR value in a variant.
Assigns a string to a Boolean value in a variant.
Assigns a string to a BSTR in a variant.
Assigns a string to an unsigned char (byte) value stored in a variant.
Assigns a string to a char type in a variant.
Assigns an IUnknown interface pointer to a variant.
Assigns a string to a currency value in a variant.
Assigns a string to a date value in a variant.
Assigns an IDispatch interface pointer to a variant.
Assigns a string into a double-type value in a variant.
Assigns a string to a float-type value stored in a variant.
Assigns a string to an integer in a variant.
Assigns a string to a long integer stored in a variant.
Assigns a string to an error code value in a variant.
Assigns a string to a short integer in a variant.
Assigns a string into an unsigned integer in a variant.
Assigns a string to an unsigned long integer in a variant.
Assigns a string to an unsigned short integer in a variant.