[propget] HRESULT _NewEnum([out, retval] IUnknown ** pVal);
This is a standard COM enumerator, which provides an enumerator of the current collection of nodes.
///todo: discuss the possible return values
dim e, t
set e = CreateObject("pocketSOAP.Envelope.2")
set t = CreateObject("pocketSOAP.HTTPTransport.2")
...
e.parse t
' using the 'for each item in collection' syntax in VB maps to a call to _NewEnum
for each n in e.Parameters
wscript.echo n.Name & " : " & n.Value
next
Copyright © Simon Fell, 2000-2004. All rights reserved.