Click or drag to resize

ListCollectionTInsertItem Method

Inserts an element into the CollectionT at the specified index.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntax
protected override void InsertItem(
	int index,
	T item
)
View Source

Parameters

index  Int32
The zero-based index at which item should be inserted.
item  T
The object to insert. The value can be null for reference types.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero.-or-index is greater than Count.
See Also