ISoapAttachments::Count Property (read-only)

[propget] HRESULT Count([out, retval] long * Count);

Returns the number of attachments in the collection. Note that for the Response collection, this count will include the attachment that contains the SOAP message.

 

Return Values

The number of attachments in the collection

 

Sample Code

dim mgr,a 
set mgr = CreateObject("PocketSOAP.Attachments")
...
e.parse mgr
wscript.echo "Response contains " & mgr.Response.Count & " attachments"

 

See Also

The ISoapAttachments Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.