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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: