[propget] HRESULT Item([in] long idx, [out, retval] ISoapAttachment ** attachment);
Accesses a particular attachment object from the collection. The index is zero based.
returns the requested attachment or E_INVALIDARG, if the specified index is outside the bounds of the collection
dim mgr, a set mgr = CreateObject("PocketSOAP.Attachments") ... e.parse mgr wscript.echo "Response contains " & mgr.Response.Count & " attachments" if mgr.Response.Count > 0 then set firstAttachment = mgr.Response.Item(0) wscript.echo firstAttachment.TypeName end if
Copyright © Simon Fell, 2000-2004. All rights reserved.