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:
virtual void SetItem(
	int index,
	T item
) override

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: