ISoapAttachment::TypeNameFormat Property

[propget] HRESULT TypeNameFormat([out, retval] TypeNameFormat * tnf);
[propput] HRESULT TypeNameFormat([in] TypeNameFormat tnf);

This is the format that the TypeName property takes, this is typically tnfMedia type to indicate that the TypeName is a MIME media type or tnfAbsoluteURI to indicate that the TypeName is an AbsoluteURI as detailed in the DIME specification.

 

Return Values

 

Sample Code

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

if a.TypeNameFormat = tnfMediaType then
	wscript.echo "media type = " & a.TypeName
end if

 

See Also

The ISoapAttachment Interface | 

 

 

Copyright

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