Removes the element at the specified position in this list.
Namespace: Endeca.NavigationAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)
Syntax
C# |
---|
public virtual Object Remove( int index ) |
Visual Basic |
---|
Public Overridable Function Remove ( _ index As Integer _ ) As Object |
Visual C++ |
---|
public: virtual Object^ Remove( int index ) |
Parameters
- index
- Type: System..::..Int32
The zero-based index of the element to remove.
Return Value
The element previously at position index.Remarks
Shifts any subsequent elements to the left (subtracts one from
their indices). Returns the element that was removed from the list.
Exceptions
Exception | Condition |
---|---|
System..::..IndexOutOfRangeException | index is out of range. |