COM.VARIANTToRBVariant

From Xojo Documentation

Method

COM.VARIANTToRBVariant(oleVar As Ptr) As Variant

Supported 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 )