Share this page

# Assignment to Variants

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

lrc_variant_<Type-Name>Array | Assigns an array of Type-Name to a variant.
lrc_variant_ascii_BSTR | Assigns a string to an ascii BSTR value in a variant.
lrc_variant_bool | Assigns a string to a Boolean value in a variant.
lrc_variant_BSTR | Assigns a string to a BSTR in a variant.
lrc_variant_BYTE | Assigns a string to an unsigned char (byte) value stored in a variant.
lrc_variant_char | Assigns a string to a char type in a variant.
lrc_variant_CoObject | Assigns an IUnknown interface pointer to a variant.
lrc_variant_currency | Assigns a string to a currency value in a variant.
lrc_variant_date | Assigns a string to a date value in a variant.
lrc_variant_DispObject | Assigns an IDispatch interface pointer to a variant.
lrc_variant_double | Assigns a string into a double-type value in a variant.
lrc_variant_float | Assigns a string to a float-type value stored in a variant.
lrc_variant_int | Assigns a string to an integer in a variant.
lrc_variant_long | Assigns a string to a long integer stored in a variant.
lrc_variant_scode | Assigns a string to an error code value in a variant.
lrc_variant_short | Assigns a string to a short integer in a variant.
lrc_variant_uint | Assigns a string into an unsigned integer in a variant.
lrc_variant_ulong | Assigns a string to an unsigned long integer in a variant.
lrc_variant_ushort | Assigns a string to an unsigned short integer in a variant.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: