Mail Body Parts Object
Overview
Collection of "sibling" Mail Body Part Objects existing at a single level in the message.
Sections
Init, Main, Procedures, OnExit, and Structure.
note
The object is declared in the Declare section.
Properties
Name | Description |
---|---|
Count | Number of objects in the collection. |
Item | Returns the part object at index. |
ObjectIsEmpty | Returns 1 if object is not created. |
LastReturnCode | Returns last known return code from object. |
note
Properties ObjectIsEmpty
and LastReturnCode
are common methods. For more information see Common properties and methods.
Methods
Name | Description |
---|---|
Add | Adds a new body part object to the collection. |
Clear | Removes all the objects from the collection. |
Delete | Removes a body part at index from a collection. |
CreateObject | Creates a new instance of the object. |
FreeObject | Releases the instance of the object. |
note
Methods CreateObject
and FreeObject
are common methods. For more information see Common properties and methods.
See Also
Mail Message Object
Mail Body Part Object
Properties
Count
Number of objects in the collection.
Type: Integer
Default: -
Read: get_Count
Write: -
Item
Returns the Mail Body Part Object at index.
Type: Integer
Default: -
Read: get_Item
Write: put_Item
Methods
Add
Adds a new Mail Body Part Object to the collection.
Parameters
BodyPart | Type: Mail Body Part Object Description: Name of object. |
Index | Type: Integer Default: -1 Description: If index = -1, the body part is added to the end of the list. |
See Also
Mail Body Parts Object::Clear
Mail Body Parts Object::Delete
Clear
Removes all the objects from the collection.
Parameters
---
See Also
Mail Body Parts Object::Add
Mail Body Parts Object::Delete
Delete
Removes a Mail Body Part Object at index from the collection.
Parameters
Index | Type: Integer |
See Also
Mail Body Parts Object::Add
Mail Body Parts Object::Clear