Removes the element at the specified position in this list.

Namespace: Endeca.Navigation
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (6.2.2.8614)

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

ExceptionCondition
System..::..IndexOutOfRangeExceptionindex is out of range.

See Also