CollectionBase
T
Insert Method
|
Inserts an element into the list at the specified index.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void Insert(
int index,
T item
)
Public Sub Insert (
index As Integer,
item As T
)
public:
virtual void Insert(
int index,
T item
) sealed
abstract Insert :
index : int *
item : 'T -> unit
override Insert :
index : int *
item : 'T -> unit
Parameters
-
index
-
Type:
System
Int32
The zero-based index at which item should be inserted.
-
item
-
Type:
T
The object to insert. The value can be null for reference types.
Implements
IList
T
Insert(Int32, T)
See Also