Inserts the ERecSearch object at the specified position in this list.

Namespace: Endeca.Navigation
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.3.0.0 (6.3.0.853)

Syntax

C#
public virtual void Add(
	int index,
	Object elementAt
)
Visual Basic
Public Overridable Sub Add ( _
	index As Integer, _
	elementAt As Object _
)
Visual C++
public:
virtual void Add(
	int index, 
	Object^ elementAt
)

Parameters

index
Type: System..::..Int32
The zero-based index of the element to add.
elementAt
Type: System..::..Object
The ERecSearch to be inserted.

Remarks

Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).

Exceptions

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

See Also