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.138 -- Release Build+f13f8f80c1917f967d82dedfdc2c53029991e99f
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