Marks a range of messages for deletion from the current mailbox.
Namespace: Jscape.EmailAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void DeleteMessage( int startIndex, int endIndex ) |
Visual Basic |
---|
Public Sub DeleteMessage ( _ startIndex As Integer, _ endIndex As Integer _ ) |
Visual C++ |
---|
public: void DeleteMessage( int startIndex, int endIndex ) |
Parameters
- startIndex
- Type: System..::..Int32
The one-based starting index of the message range to mark for deletion.
- endIndex
- Type: System..::..Int32
The one-based ending index of the message range to mark for deletion.
Remarks
The method marks all messages within
the given start and end index in the current mailbox for deletion. To process
messages marked for deletion invoke the Expunge()()()() method.