IBodyParts Interface

Topic Last Modified: 2006-06-13

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

CLSID

CD000023-8B95-11D1-82DB-00C04FB1625D

Extends

IDispatch

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Member Summary

The following table lists the properties of the IBodyParts interface.

Name Description

_NewEnum

Returns an IEnumVARIANT interface on an enumeration object for the collection. This property is hidden from Microsoft® Visual Basic® and Visual Basic Scripting Edition (VBScript).

Count

Returns the number of BodyPart objects in the collection. This property is read-only.

Item

Returns the BodyPart object specified by the index. This property is read-only.

The following table lists the methods of the IBodyParts interface.

Name Description

Add

Adds a new BodyPart object to the collection.

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 of the collection always ranges from 1 to the value returned by the Count property.