Inserts an element into the PageableListT at the specified index.
Namespace: Spotfire.Dxp.Data.Collections
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public void Insert( int index, Object value )
Parameters
- index
- Type: SystemInt32
The zero-based index at which item should be inserted. - value
- Type: SystemObject
The object to insert.
Implements
IListInsert(Int32, Object)Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if the list is read-only |
ArgumentOutOfRangeException | Thrown if index is less than 0 or index is greater than Count. |
ArgumentException | value is of a type that is not assignable to the PageableListT. |
Remarks
This method is O(n), where n is Count.
Version Information
See Also