Click or drag to resize
DigitalRuneStateCollectionInsertItem Method

Namespace: DigitalRune.Game.States
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
protected override void InsertItem(
	int index,
	State item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: DigitalRune.Game.StatesState
The object to insert. The value can be for reference types.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is .
ArgumentExceptionitem is already contained in the collection. Duplicate states are not allowed in the collection.
ArgumentOutOfRangeExceptionindex is less than zero. Or index is greater than Count.
See Also