Platform SDK: Exchange 2000 Server

IBodyParts Interface

[This is preliminary documentation and subject to change.]

The IBodyParts interface defines properties and methods used to access a collection of BodyPart objects.

IID
CD000023-8B95-11D1-82DB-00C04FB1625D
Extends
IDispatch

Member Summary

Properties

Name Type Description
Count

(Read-only)

[Visual Basic]Long

[C++] Long

Returns the number of BodyPart objects in the collection.
Item

(Read-only)

[Visual Basic]IBodyPart

[C++]IBodyPart*

Returns a reference to the object at a given index in the collection.
_NewEnum

(Read-only)

[C++] IUnknown*

[Visual Basic] (Used in For Each In)

Returns an IEnumVARIANT interface on an enumeration object. (This property is hidden from Microsoft® Visual Basic® and is used in For Each in constructs)

Methods

Name Description
Add Adds a BodyPart object to the collection, then returns a reference to the newly added object.
Delete Removes the specified BodyPart object from the collection
DeleteAll Removes all BodyPart objects from the collection.

Remarks

COM classes that provide an implementation of the IBodyParts interface present ordered collections of BodyPart objects. The indexing of the collection always ranges from 1 to the value returned by the Count property.