Export (0) Print
Expand All

SynchronizedKeyedCollection<K, T> Methods

The SynchronizedKeyedCollection<K, T> type exposes the following members.

  NameDescription
Public method Add Adds an item to the thread-safe, read-only collection. (Inherited from SynchronizedCollection<T>.)
Protected method ChangeItemKey Changes the key for a specified item in the synchronized collection.
Public method Clear Removes all items from the collection. (Inherited from SynchronizedCollection<T>.)
Protected method ClearItems Clears all items from the collection. (Overrides SynchronizedCollection<T>.ClearItems().)
Public method Contains(T) Determines whether the collection contains an element with a specific value. (Inherited from SynchronizedCollection<T>.)
Public method Contains(K) Returns a value that indicates whether the collection contains an item with a specified key.
Public method CopyTo Copies the elements of the collection to a specified array, starting at a particular index. (Inherited from SynchronizedCollection<T>.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the synchronized collection. (Inherited from SynchronizedCollection<T>.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetKeyForItem When overridden in a derived class, gets the key for a specified item.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index of the first occurrence of a value in the collection. (Inherited from SynchronizedCollection<T>.)
Public method Insert Inserts an item into the collection at a specified index. (Inherited from SynchronizedCollection<T>.)
Protected method InsertItem Inserts an item into the collection at a specified location. (Overrides SynchronizedCollection<T>.InsertItem(Int32, T).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove(T) Removes the first occurrence of a specified item from the collection. (Inherited from SynchronizedCollection<T>.)
Public method Remove(K) Removes an item with a specified key from the collection and returns a value that indicates whether an item was removed.
Public method RemoveAt Removes an item at a specified index from the collection. (Inherited from SynchronizedCollection<T>.)
Protected method RemoveItem Removes an item at a specified location from the collection. (Overrides SynchronizedCollection<T>.RemoveItem(Int32).)
Protected method SetItem Replaces an item at a specified location of the collection with a new item. (Overrides SynchronizedCollection<T>.SetItem(Int32, T).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to a specified array, starting at a particular index. (Inherited from SynchronizedCollection<T>.)
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through the synchronized collection. (Inherited from SynchronizedCollection<T>.)
Explicit interface implemetation Private method IList.Add Adds an element to the collection. (Inherited from SynchronizedCollection<T>.)
Explicit interface implemetation Private method IList.Contains Determines whether the collection contains an element with a specific value. (Inherited from SynchronizedCollection<T>.)
Explicit interface implemetation Private method IList.IndexOf Determines the zero-based index of an element in the collection. (Inherited from SynchronizedCollection<T>.)
Explicit interface implemetation Private method IList.Insert Inserts an object into the collection at a specified index. (Inherited from SynchronizedCollection<T>.)
Explicit interface implemetation Private method IList.Remove Removes the first occurrence of a specified object as an element from the collection. (Inherited from SynchronizedCollection<T>.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft