Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Message objects, like BodyPart objects, have an associated Fields collection and a method used to generate its serialized stream. The Fields collection can be retrieved using either the IBodyPart or IMessage interfaces. Irrespective of which collection is used, the list of fields is the same.
The IMessage interface defines the GetStream method that you use to retrieve the serialized content for an entire message, rather than portions of the hierarchy or directly contained content such as with IBodyPart.GetStream, IBodyPart.GetDecodedContentStream and IBodyPart.GetEncodedContentStream. In most cases, the Message object itself is multipart, and therefore contains no direct content.
Note It is important to know that the Message object exposes both the IMessage and IBodyPart interfaces. These interfaces are distinct and represent a different type of functionality for the object.