Module: IP2DataBuffer

Includes:
WIN32OLE::VARIANT
Defined in:
lib/ole20110223-013209.rb

Overview

IP2DataBuffer 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

Instance Method Summary collapse

Instance Attribute Details

#lastargsObject (readonly)

Returns the value of attribute lastargs.



1409
1410
1411
# File 'lib/ole20110223-013209.rb', line 1409

def lastargs
  @lastargs
end

Instance Method Details

#AttachToStream(stream) ⇒ Object

method VOID AttachToStream

IP2DataStream stream [IN]


1419
1420
1421
# File 'lib/ole20110223-013209.rb', line 1419

def AttachToStream(stream)
  _invoke(1, [stream], [VT_BYREF|VT_DISPATCH])
end

#Clear(table_name) ⇒ Object

method VOID Clear

BSTR table_name [IN]


1441
1442
1443
# File 'lib/ole20110223-013209.rb', line 1441

def Clear(table_name)
  _invoke(6, [table_name], [VT_BSTR])
end

#ClearAllObject

VOID ClearAll: method Clear



1446
1447
1448
# File 'lib/ole20110223-013209.rb', line 1446

def ClearAll()
  _invoke(8, [], [])
end

#Count(table_name) ⇒ Object

method I4 Count

BSTR table_name [IN]


1435
1436
1437
# File 'lib/ole20110223-013209.rb', line 1435

def Count(table_name)
  _invoke(5, [table_name], [VT_BSTR])
end

#CountTablesObject

method I4 CountTables



1429
1430
1431
# File 'lib/ole20110223-013209.rb', line 1429

def CountTables()
  _invoke(3, [], [])
end

#DetachFromStreamObject

method VOID DetachFromStream



1424
1425
1426
# File 'lib/ole20110223-013209.rb', line 1424

def DetachFromStream()
  _invoke(2, [], [])
end

#TableRecordsObject

PTR TableRecords: property Records

BSTR table_name [IN]


1413
1414
1415
# File 'lib/ole20110223-013209.rb', line 1413

def TableRecords
  @_TableRecords ||= OLEProperty.new(self, 4, [VT_BSTR], [VT_BSTR, VT_BYREF|VT_DISPATCH])
end