Redigera

Dela via


SynchronizedKeyedCollection<K,T>.ChangeItemKey(T, K) Method

Definition

Changes the key for a specified item in the synchronized collection.

protected:
 void ChangeItemKey(T item, K newKey);
protected void ChangeItemKey (T item, K newKey);
member this.ChangeItemKey : 'T * 'K -> unit
Protected Sub ChangeItemKey (item As T, newKey As K)

Parameters

item
T

The item whose key is being changed.

newKey
K

The new key for the specified item.

Applies to