Click or drag to resize
DigitalRuneForceEffectCollection.InsertItem Method

Namespace: DigitalRune.Physics.ForceEffects
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
protected override void InsertItem(
	int index,
	ForceEffect item
)

Parameters

index
Type: System.Int32
The zero-based index at which item should be inserted.
item
Type: DigitalRune.Physics.ForceEffects.ForceEffect
The object to insert.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or greater than Count.
ArgumentNullExceptionitem is null. The collection does not allow null values. See AllowNull.
ArgumentExceptionitem is already contained in the collection. The collection does not allow duplicate items. See AllowDuplicates.
See Also