Share this page

# Assignment to Variants - By Reference and By Variant

The lrc_variant_<Type-Name>_by_ref functions assign values of specific data types to variables stored by reference in a variant. The lrc_variant_<Type-Name>_by_variant functions assign values of specific data types to variables stored by a variant to a variant. The following types are supported:

lrc_variant_<Type-Name>Array_by_ref Alternate syntax: lrc_Put<Type-Name>ArrayByRefInVariant lrc_Put<Type-Name>Array_by_refInVariant | Returns a reference to an array of Type-Name in a variant.
lrc_variant_ascii_BSTR_by_ref | Assigns a string to an ascii BSTR value stored by reference in a variant.
lrc_variant_BSTR_by_variant | Assigns a string to an ascii BSTR value stored by a variant to a variant.
lrc_variant_bool_by_ref | Assigns a string to a Boolean value stored by reference in a variant.
lrc_variant_bool_by_variant | Assigns a string to a Boolean value stored by a variant to a variant.
lrc_variant_BSTR_by_ref | Assigns a string to a BSTR value stored by reference in a variant.

lrc_variant_BYTE_by_ref | Assigns a string to a char (byte) stored by reference in a variant.
lrc_variant_BYTE_by_variant | Assigns a string to a char (byte) stored by a variant to a variant.
lrc_variant_char_by_ref | Assigns a string to a char stored by reference in a variant.
lrc_variant_CoObject_by_ref | Assigns an IUnknown interface pointer to a variant.
lrc_variant_CoObject_by_variant | Assigns an IUnknown interface pointer to a variant of a variant.
lrc_variant_currency_by_ref | Converts a string into a currency type value stored by reference in a variant.
lrc_variant_currency_by_variant | Converts a string into a currency type value stored by a variant to a variant.
lrc_variant_date_by_ref | Assigns a string to a date type value stored by reference in a variant.
lrc_variant_date_by_variant | Assigns a string to a date type value stored by a variant to a variant.
lrc_variant_DispObject_by_ref | Assigns an IDispatch interface pointer to a variant.
lrc_variant_DispObject_by_variant | Assigns an IDispatch interface pointer to a variant of a variant.
lrc_variant_double_by_ref | Assigns a string to a double-type value by reference into a variant.
lrc_variant_double_by_variant | Converts a string to a double type value stored by a variant to a variant.
lrc_variant_float_by_ref | Assigns a string to a float-type value stored by reference in a variant.
lrc_variant_float_by_variant | Assigns a string to a float-type value stored by a variant to a variant.
lrc_variant_from_variant_by_ref | Gets a variant from within a variant.
lrc_variant_int_by_ref | Assigns a string to an integer stored by reference in a variant.
lrc_variant_long_by_ref | Assigns a string to a long integer stored by reference in a variant.
lrc_variant_long_by_variant | Assigns a string to a long integer stored by a variant to a variant.
lrc_variant_scode_by_ref | Assigns a string to an error code value stored by reference in a variant.
lrc_variant_scode_by_variant | Assigns a string to an error code value stored by a variant to a variant.
lrc_variant_short_by_ref | Assigns a string to a short integer stored by reference in a variant.
lrc_variant_short_by_variant | Assigns a string to a short integer stored by a variant to a variant.
lrc_variant_uint_by_ref | Assigns a string to an unsigned integer stored by reference in a variant.
lrc_variant_ulong_by_ref | Assigns a string to an unsigned long integer stored by reference in a variant.
lrc_variant_ushort_by_ref | Assigns a string to an unsigned short integer stored by reference in a variant.

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