RollingWindowTInsert Method

Inserts an item to the RollingWindowT at the specified index.

Definition

Namespace: Gemstone.IO.Collections
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.128 -- Release Build+2960d3f3619fdc53cad514a51817286dcfb19027
public void Insert(
	int index,
	T item
)

Parameters

index  Int32
The zero-based index at which item should be inserted.
item  T
The object to insert into the RollingWindowT.

Implements

IListTInsert(Int32, T)

Exceptions

ArgumentOutOfRangeExceptionindex is not a valid index in the RollingWindowT.
InvalidOperationExceptionRolling window is full (Count = WindowSize.

See Also