In Files

  • win32ole/win32ole.c

WIN32OLE::VARIANT

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

Constants

VT_ARRAY

represents VT_ARRAY type constant.

VT_BOOL

represents VT_BOOL type constant.

VT_BSTR

represents VT_BSTR type constant.

VT_BYREF

represents VT_BYREF type constant.

VT_CY

represents VT_CY type constant.

VT_DATE

represents VT_DATE type constant.

VT_DISPATCH

represents VT_DISPATCH type constant.

VT_EMPTY

represents VT_EMPTY type constant.

VT_ERROR

represents VT_ERROR type constant.

VT_I1

represents VT_I1 type constant.

VT_I2

represents VT_I2 type constant.

VT_I4

represents VT_I4 type constant.

VT_I8

represents VT_I8 type constant.

VT_INT

represents VT_INT type constant.

VT_NULL

represents VT_NULL type constant.

VT_PTR

represents VT_PTR type constant.

VT_R4

represents VT_R4 type constant.

VT_R8

represents VT_R8 type constant.

VT_UI1

represents VT_UI1 type constant.

VT_UI2

represents VT_UI2 type constant.

VT_UI4

represents VT_UI4 type constant.

VT_UI8

represents VT_UI8 type constant.

VT_UINT

represents VT_UINT type constant.

VT_UNKNOWN

represents VT_UNKNOWN type constant.

VT_USERDEFINED

represents VT_USERDEFINED type constant.

VT_VARIANT

represents VT_VARIANT type constant.

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus