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.165 -- Release Build+90e70fb13a8ed8f84b5b4dc8e65afc7c596c977f
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