Module: IP2Record
- Includes:
- WIN32OLE::VARIANT
- Defined in:
- lib/ole20110223-013209.rb
Overview
IP2Record Interface
Constant Summary
Constants included from WIN32OLE::VARIANT
WIN32OLE::VARIANT::VT_ARRAY, WIN32OLE::VARIANT::VT_BOOL, WIN32OLE::VARIANT::VT_BSTR, WIN32OLE::VARIANT::VT_BYREF, WIN32OLE::VARIANT::VT_CY, WIN32OLE::VARIANT::VT_DATE, WIN32OLE::VARIANT::VT_DISPATCH, WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_ERROR, WIN32OLE::VARIANT::VT_I1, WIN32OLE::VARIANT::VT_I2, WIN32OLE::VARIANT::VT_I4, WIN32OLE::VARIANT::VT_I8, WIN32OLE::VARIANT::VT_INT, WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_PTR, WIN32OLE::VARIANT::VT_R4, WIN32OLE::VARIANT::VT_R8, WIN32OLE::VARIANT::VT_UI1, WIN32OLE::VARIANT::VT_UI2, WIN32OLE::VARIANT::VT_UI4, WIN32OLE::VARIANT::VT_UI8, WIN32OLE::VARIANT::VT_UINT, WIN32OLE::VARIANT::VT_UNKNOWN, WIN32OLE::VARIANT::VT_USERDEFINED, WIN32OLE::VARIANT::VT_VARIANT
Instance Attribute Summary collapse
-
#lastargs ⇒ Object
readonly
Returns the value of attribute lastargs.
Instance Method Summary collapse
-
#Count ⇒ Object
property UI4 Count.
-
#GetValAsLong(field_name) ⇒ Object
method I4 GetValAsLong BSTR field_name [IN].
-
#GetValAsLongByIndex(field_index) ⇒ Object
method I4 GetValAsLongByIndex UI4 field_index [IN].
-
#GetValAsShort(field_name) ⇒ Object
method I2 GetValAsShort BSTR field_name [IN].
-
#GetValAsShortByIndex(field_index) ⇒ Object
method I2 GetValAsShortByIndex UI4 field_index [IN].
-
#GetValAsString(field_name) ⇒ Object
method BSTR GetValAsString BSTR field_name [IN].
-
#GetValAsStringByIndex(field_index) ⇒ Object
method BSTR GetValAsStringByIndex UI4 field_index [IN].
-
#GetValAsVariant(field_name) ⇒ Object
method VARIANT GetValAsVariant BSTR field_name [IN].
-
#GetValAsVariantByIndex(field_index) ⇒ Object
method VARIANT GetValAsVariantByIndex UI4 field_index [IN].
Instance Attribute Details
#lastargs ⇒ Object (readonly)
Returns the value of attribute lastargs.
892 893 894 |
# File 'lib/ole20110223-013209.rb', line 892 def lastargs @lastargs end |
Instance Method Details
#Count ⇒ Object
property UI4 Count
895 896 897 |
# File 'lib/ole20110223-013209.rb', line 895 def Count() _getproperty(1, [], []) end |
#GetValAsLong(field_name) ⇒ Object
method I4 GetValAsLong
BSTR field_name [IN]
913 914 915 |
# File 'lib/ole20110223-013209.rb', line 913 def GetValAsLong(field_name) _invoke(4, [field_name], [VT_BSTR]) end |
#GetValAsLongByIndex(field_index) ⇒ Object
method I4 GetValAsLongByIndex
UI4 field_index [IN]
919 920 921 |
# File 'lib/ole20110223-013209.rb', line 919 def GetValAsLongByIndex(field_index) _invoke(5, [field_index], [VT_UI4]) end |
#GetValAsShort(field_name) ⇒ Object
method I2 GetValAsShort
BSTR field_name [IN]
925 926 927 |
# File 'lib/ole20110223-013209.rb', line 925 def GetValAsShort(field_name) _invoke(6, [field_name], [VT_BSTR]) end |
#GetValAsShortByIndex(field_index) ⇒ Object
method I2 GetValAsShortByIndex
UI4 field_index [IN]
931 932 933 |
# File 'lib/ole20110223-013209.rb', line 931 def GetValAsShortByIndex(field_index) _invoke(7, [field_index], [VT_UI4]) end |
#GetValAsString(field_name) ⇒ Object
method BSTR GetValAsString
BSTR field_name [IN]
901 902 903 |
# File 'lib/ole20110223-013209.rb', line 901 def GetValAsString(field_name) _invoke(2, [field_name], [VT_BSTR]) end |
#GetValAsStringByIndex(field_index) ⇒ Object
method BSTR GetValAsStringByIndex
UI4 field_index [IN]
907 908 909 |
# File 'lib/ole20110223-013209.rb', line 907 def GetValAsStringByIndex(field_index) _invoke(3, [field_index], [VT_UI4]) end |
#GetValAsVariant(field_name) ⇒ Object
method VARIANT GetValAsVariant
BSTR field_name [IN]
937 938 939 |
# File 'lib/ole20110223-013209.rb', line 937 def GetValAsVariant(field_name) _invoke(8, [field_name], [VT_BSTR]) end |
#GetValAsVariantByIndex(field_index) ⇒ Object
method VARIANT GetValAsVariantByIndex
UI4 field_index [IN]
943 944 945 |
# File 'lib/ole20110223-013209.rb', line 943 def GetValAsVariantByIndex(field_index) _invoke(9, [field_index], [VT_UI4]) end |