Method
COM.VARIANTToRBVariant(oleVar As
Ptr)
As VariantSupported for all project types and targets.
Converts an OLE VARIANT to an RB Variant.
Example
Var oleVar As MemoryBlock = COM.RBVariantToVARIANT( 2012 )
Var v As Variant = COM.VARIANTToRBVariant( oleVar )