 | MaterialCollectionInsertItem Method |
Inserts a material into the collection at the specified index.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxprotected override void InsertItem(
int index,
Material item
)
Protected Overrides Sub InsertItem (
index As Integer,
item As Material
)
protected:
virtual void InsertItem(
int index,
Material^ item
) override
abstract InsertItem :
index : int *
item : Material -> unit
override InsertItem :
index : int *
item : Material -> unit
Parameters
- index
- Type: SystemInt32
The zero-based index at which item should be inserted.
- item
- Type: DigitalRune.GraphicsMaterial
The material to insert.
Exceptions
See Also