Replaces the element at the specified position in this list with
the specified element.
Namespace: Endeca.NavigationAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.3.0.0 (6.3.0.853)
Syntax
C# |
---|
public virtual Object Set( int index, Object elementAt ) |
Visual Basic |
---|
Public Overridable Function Set ( _ index As Integer, _ elementAt As Object _ ) As Object |
Visual C++ |
---|
public: virtual Object^ Set( int index, Object^ elementAt ) |
Parameters
- index
- Type: System..::..Int32
The zero-based index of the element to set.
- elementAt
- Type: System..::..Object
The element to be set.
Return Value
The element previously at index.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | index is out of range. |