Click or drag to resize
DigitalRuneChildCollectionTParent, TChildSetItem Method
Replaces the element at the specified index.

Namespace: DigitalRune.Collections
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
protected override void SetItem(
	int index,
	TChild item
)

Parameters

index
Type: SystemInt32
The zero-based index of the element to replace.
item
Type: TChild
The new value for the element at the specified index.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is .
InvalidOperationException Cannot insert node into collection - item is already in this collection or child of another object.
See Also