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