Click or drag to resize
DigitalRuneMaterialCollectionInsertItem Method
Inserts a material 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,
	Material item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: DigitalRune.GraphicsMaterial
The material to insert.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is .
See Also