Share this page

# lrc_variant_from_variant_by_ref

Assignment to Variants - By Reference and By Variant

Gets a variant from within another variant.

    VARIANT lrc_variant_from_variant_by_ref( VARIANT var );

var | a variant containing a reference to a variant

The lrc_variant_from_variant_by_ref function gets a variant from within another variant reference.

## Return Values

lrc Return Values

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

This example extracts a variant from within another variant.

    VARIANT var0 = lrc_variant_BSTR("ABC");

    VARIANT var1 = lrc_variant_variant_by_ref(&var0);

    VARIANT var2 = lrc_variant_from_variant_by_ref(var1);

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: