DXCollectionBase<T>.Insert(Int32, T) Method
Inserts the specified element into the collection at the specified position.
Namespace: DevExpress.Utils
Assembly: DevExpress.Data.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
index | Int32 | An integer value which represents the zero-based index at which the element should be inserted. |
value | T | A <T> object to insert into the collection. |
Remarks
If the index passed as a parameter to this method is less than zero, or exceeds the number of items in the collection, this method throws an exception of the ArgumentOutOfRangeException type.
See Also