Module: IXMLDOMNodeList

Includes:
WIN32OLE::VARIANT
Defined in:
sample/xml.rb

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



350
351
352
# File 'sample/xml.rb', line 350

def lastargs
  @lastargs
end

Instance Method Details

#itemObject

PTR item collection of nodes

I4 arg0 --- index [IN]


363
364
365
# File 'sample/xml.rb', line 363

def item
  OLEProperty.new(self, 0, [VT_I4], [VT_I4, VT_BYREF|VT_DISPATCH])
end

#lengthObject

I4 length number of nodes in the collection



354
355
356
357
358
# File 'sample/xml.rb', line 354

def length()
  ret = _getproperty(74, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nextNodeObject

IXMLDOMNode nextNode get next node from iterator



369
370
371
372
373
# File 'sample/xml.rb', line 369

def nextNode()
  ret = _invoke(76, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#resetObject

VOID reset reset the position of iterator



377
378
379
380
381
# File 'sample/xml.rb', line 377

def reset()
  ret = _invoke(77, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end