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
)

Parameters

index
Type: System.Int32

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

item
Type: T

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

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