Module: WIN32OLE::VARIANT

Overview

The WIN32OLE::VARIANT module includes constants of VARIANT type constants. The constants is used when creating WIN32OLE_VARIANT object.

obj = WIN32OLE_VARIANT.new("2e3", WIN32OLE::VARIANT::VT_R4)
obj.value # => 2000.0

Constant Summary collapse

VT_EMPTY =

represents VT_EMPTY type constant.

RB_INT2FIX(VT_EMPTY)
VT_NULL =

represents VT_NULL type constant.

RB_INT2FIX(VT_NULL)
VT_I2 =

represents VT_I2 type constant.

RB_INT2FIX(VT_I2)
VT_I4 =

represents VT_I4 type constant.

RB_INT2FIX(VT_I4)
VT_R4 =

represents VT_R4 type constant.

RB_INT2FIX(VT_R4)
VT_R8 =

represents VT_R8 type constant.

RB_INT2FIX(VT_R8)
VT_CY =

represents VT_CY type constant.

RB_INT2FIX(VT_CY)
VT_DATE =

represents VT_DATE type constant.

RB_INT2FIX(VT_DATE)
VT_BSTR =

represents VT_BSTR type constant.

RB_INT2FIX(VT_BSTR)
VT_USERDEFINED =

represents VT_USERDEFINED type constant.

RB_INT2FIX(VT_USERDEFINED)
VT_PTR =

represents VT_PTR type constant.

RB_INT2FIX(VT_PTR)
VT_DISPATCH =

represents VT_DISPATCH type constant.

RB_INT2FIX(VT_DISPATCH)
VT_ERROR =

represents VT_ERROR type constant.

RB_INT2FIX(VT_ERROR)
VT_BOOL =

represents VT_BOOL type constant.

RB_INT2FIX(VT_BOOL)
VT_VARIANT =

represents VT_VARIANT type constant.

RB_INT2FIX(VT_VARIANT)
VT_UNKNOWN =

represents VT_UNKNOWN type constant.

RB_INT2FIX(VT_UNKNOWN)
VT_I1 =

represents VT_I1 type constant.

RB_INT2FIX(VT_I1)
VT_UI1 =

represents VT_UI1 type constant.

RB_INT2FIX(VT_UI1)
VT_UI2 =

represents VT_UI2 type constant.

RB_INT2FIX(VT_UI2)
VT_UI4 =

represents VT_UI4 type constant.

RB_INT2FIX(VT_UI4)
VT_I8 =

represents VT_I8 type constant.

RB_INT2FIX(VT_I8)
VT_UI8 =

represents VT_UI8 type constant.

RB_INT2FIX(VT_UI8)
VT_INT =

represents VT_INT type constant.

RB_INT2FIX(VT_INT)
VT_UINT =

represents VT_UINT type constant.

RB_INT2FIX(VT_UINT)
VT_ARRAY =

represents VT_ARRAY type constant.

RB_INT2FIX(VT_ARRAY)
VT_BYREF =

represents VT_BYREF type constant.

RB_INT2FIX(VT_BYREF)