ISoapAttachment::Uri Property

[propget] HRESULT Uri([out, retval] BSTR * uri);
[propput] HRESULT Uri([in] BSTR uri);

This is the Uri identifier for this attachment, this is an absolute URI built from the ContentID. For SwA attachments, it uses the cid: URI schema (e.g. and for DIME attachments it uses the UUID scheme ( e.g. uuid:0F7CE2D4-5999-4a10-8BF7-23535D45BB77)


Return Values

A string containing the absolute URI identifier for this attachment


Sample Code

' create the attachment
set a = mgr.Request.Create ("c:\picture.gif", tnfMediaType, "image/gif")
wscript.echo a.Uri


See Also

The ISoapAttachment Interface | 




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