Click or drag to resize
DigitalRuneShadowCollectionInsertItem Method
Inserts an element into the collection at the specified index.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
protected override void InsertItem(
	int index,
	Shadow item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: DigitalRune.GraphicsShadow
The object to insert.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is . The collection does not allow values.
ArgumentExceptionitem is a CompositeShadow. CompositeShadows cannot be added to a shadow collection.
ArgumentExceptionitem is already contained in the collection. The collection does not allow duplicate items.
See Also