Platform SDK: CDO for Windows 2000

IBodyParts Interface

The IBodyParts interface defines properties and methods that you can use 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 Visual Basic and is used in For Each in constructs)

Methods

Name Description
Add Adds a BodyPart object to the collection, and 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

Component Object Model (COM) classes that provide an implementation of the IBodyParts interface present ordered collections of BodyPart objects. The indexing values of the collection always range from 1 to the value returned by the Count property.