Replaces the element at the specified index.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
protected abstract void SetItem(
	int index,
	T item
)
Visual Basic
Protected MustOverride Sub SetItem ( 
	index As Integer,
	item As T
)

Parameters

index
Type: System..::..Int32
The zero-based index of the element to replace.
item
Type: T
The new value for the element at the specified index. The value can be null (Nothing in Visual Basic) for reference types.

See Also