wodMailbox ActiveX Control - Remove Method
      
 

Description

Removes header from the collection.


Return Type

None  


Syntax

object.Remove Index



The Remove Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Headers.
Index Required. A Variant value. Specifies header index, or header Name.

Remarks

Remove method will delete specific Header object from the headers collection. Index parameter should be either Integer value that represents header index, or reference to Header object you wish to delete from the collection.

Integer value Index should be between 0 and Count-1, since unlike VB, wodMailbox starts counting headers from 0.

If Index doesn't exist in the collection, an error will be returned.