Platform SDK: CDO for Windows 2000

IBodyPart Collections

The IBodyPart interface defines two collections, which are described in the following table.

IBodyPart Interface Collections

Collection Description
BodyParts A collection of child BodyPart objects for the object.
Fields A collection of Field objects for the object. Each Field contains a header field for the body part. In most cases, this collection contains the MIME headers for the body part.

The BodyParts collection is used to navigate down the hierarchy to the object’s child body parts. The Parent property is used to navigate up the hierarchy from the object to its parent.