IAttachmentManger::Request Property (read-only)

[propget] HRESULT Request([out, retval] ISoapAttachments ** collection);

An attachments collection, with all the attachments that form part of the request.


Return Values

An attachments collection object


Sample Code

' create and initialize the SOAP envelope
set e = CreateObject("pocketSOAP.Envelope.2")
e.setMethod "doImage", "urn:AttachmentService"

' create the attachments object, and switch to MIME formatted attachments
set a = CreateObject("pocketSOAP.Attachments")
a.format = formatMime

' create the parameter that has the attachment attached to it
set n = e.parameters.create("gif", empty)

' create the attachment, and create a reference between the attachment and the parameter
n.href = a.Request.Create ("c:\picture.gif", tnfMediaType, "image/gif").Uri


See Also

The IAttachmentManger Interface | 




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