Dart Smtp, Pop, Imap Controls
Add Method
Part Object to add to the collection.
Indicates the Part Object is to be added at this index value. Defaults to the end of the collection.
Description
Add a Part to the collection.
Syntax
Visual Basic
Public Sub Add( _
   ByVal Part As Part, _
   Optional ByVal Index As Long = 0 _
) 
Parameters
Part
Part Object to add to the collection.
Index
Indicates the Part Object is to be added at this index value. Defaults to the end of the collection.
Remarks

The optional parameter Index indicates that Part is to be inserted at the specified index. This index is a ones based number up to the collection's Count property plus 1.

If Index is not specified, the Part object is added to the end of the collection.

Error Codes

This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):

See Also

Parts Collection  | Parts Members


PowerTCP Mail for ActiveX Documentation Version 2.13
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic