|  | MaterialCollectionSetItem Method | 
            Replaces the material at the specified index.
            
 
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
 Syntax
Syntaxprotected override void SetItem(
	int index,
	Material item
)
Protected Overrides Sub SetItem ( 
	index As Integer,
	item As Material
)
protected:
virtual void SetItem(
	int index, 
	Material^ item
) override
abstract SetItem : 
        index : int * 
        item : Material -> unit 
override SetItem : 
        index : int * 
        item : Material -> unit Parameters
- index
- Type: SystemInt32
 The zero-based index of the material to replace.
- item
- Type: DigitalRune.GraphicsMaterial
 The new value for the material at the specified index.
 Exceptions
Exceptions See Also
See Also