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


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

def lastargs
  @lastargs
end

Instance Method Details

#itemObject

PTR item collection of nodes

I4 arg0 --- index [IN]

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

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

#lengthObject

I4 length number of nodes in the collection


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

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

#nextNodeObject

IXMLDOMNode nextNode get next node from iterator


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

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

#resetObject

VOID reset reset the position of iterator


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

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