Click or drag to resize
DigitalRuneCollisionObjectCollectionInsertItem Method

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
protected override void InsertItem(
	int index,
	CollisionObject item
)

Parameters

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