PowerTCP Mail for .NET
RemoveAt Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MailboxCollection Class : RemoveAt Method




index
The zero-based index of the element to remove.
Removes an element at the specified index from the collection.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub RemoveAt( _
   ByVal index As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As MailboxCollection
Dim index As Integer
 
instance.RemoveAt(index)
C# 
public override void RemoveAt( 
   int index
)
Managed Extensions for C++ 
public: void RemoveAt( 
   int index
) override 
C++/CLI 
public:
void RemoveAt( 
   int index
) override 

Parameters

index
The zero-based index of the element to remove.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than zero. -or-index is equal to or greater than Count.

Remarks

When an item is removed, the elements that follow the removed element move up to occupy the vacated spot.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.