SetItem Method
Collapse the table of content
Expand the table of content

SynchronizedKeyedCollection<K, T>.SetItem Method (Int32, T)


Replaces an item at a specified location of the collection with a new item.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected override void SetItem(
	int index,
	T item


Type: System.Int32

The zero-based index that specifies the insertion location for the item in the collection.

Type: T

The item of type T to be inserted into the collection.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft