Platform SDK: CDO for Windows 2000 |
The IBodyParts interface defines properties and methods that you can use to access a collection of BodyPart objects.
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. |
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.