Platform SDK: CDO for Windows 2000

The IBodyPart COM Interface

The CDO IBodyPart interface defines a set of abstract methods and properties implemented by objects that comprise a body part hierarchy of a message. COM classes that expose implementations of the IBodyPart interface communicate to clients that they support such functionality.

The IBodyPart interface inherits from the IDispatch interface definition. The IBodyPart interface is therefore a dual interface, and may be accessed using scripting languages that require the IDispatch interface, such as VBScript or JScript. The interface is also compatible with Automation, which provides direct vtbl binding for languages such as Visual C++, Visual Basic and Visual J++ with the aid of the CDO type library.

Both the Message and BodyPart COM classes expose implementations of the IBodyPart interface.