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.166 -- Release Build+a3b9ee20c2b6c07cd93996bfe91e7d228bb90231
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