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.150 -- Release Build+48015453469a4caad572ad690a8d94f58c900b4e
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