[propget] HRESULT Format([out, retval] AttachmentFormat * pVal);
[propput] HRESULT Format([in] AttachmentFormat newVal);
This property allows you to change the attachment format between DIME and SwA
' 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
Copyright © Simon Fell, 2000-2004. All rights reserved.