System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> Members

The members of System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Collections.Concurrent.ConcurrentDictionary`2 class that is empty, has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type.

Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Initializes a new instance of the System.Collections.Concurrent.ConcurrentDictionary`2 class that is empty, has the specified concurrency level and capacity, and uses the default comparer for the key type.

Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Public Properties

[read-only]
Countint.

Gets the number of key/value pairs contained in the System.Collections.Concurrent.ConcurrentDictionary`2.

[read-only]
IsEmptybool.

Gets a value that indicates whether the System.Collections.Concurrent.ConcurrentDictionary`2 is empty.

default property
Item(TKey)TValue. Documentation for this section has not yet been entered.
[read-only]
KeysICollection<TKey>.

Gets a collection containing the keys in the Dictionary`2.

[read-only]
ValuesICollection<TValue>.

Gets a collection that contains the values in the Dictionary`2.

Public Methods

AddOrUpdate(TKey, Func<TKey, TValue>, Func<TKey, TValue, TValue>) : TValue
Documentation for this section has not yet been entered.
AddOrUpdate(TKey, TValue, Func<TKey, TValue, TValue>) : TValue
Documentation for this section has not yet been entered.
Clear()

Removes all keys and values from the System.Collections.Concurrent.ConcurrentDictionary`2.

ContainsKey(TKey) : bool
Documentation for this section has not yet been entered.
GetEnumerator() : IEnumerator<KeyValuePair<TKey, TValue>>

Returns an enumerator that iterates through the System.Collections.Concurrent.ConcurrentDictionary`2.

GetOrAdd(TKey, Func<TKey, TValue>) : TValue
Documentation for this section has not yet been entered.
GetOrAdd(TKey, TValue) : TValue
Documentation for this section has not yet been entered.
ToArray() : KeyValuePair<TKey, TValue>[]

Copies the key and value pairs stored in the System.Collections.Concurrent.ConcurrentDictionary`2 to a new array.

TryAdd(TKey, TValue) : bool
Documentation for this section has not yet been entered.
TryGetValue(TKey, out TValue) : bool
Documentation for this section has not yet been entered.
TryRemove(TKey, out TValue) : bool
Documentation for this section has not yet been entered.
TryUpdate(TKey, TValue, TValue) : bool
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

ICollection<KeyValuePair<TKey, TValue>>.AddDocumentation for this section has not yet been entered.
IDictionary.Add

Adds the specified key and value to the dictionary.

IDictionary<TKey, TValue>.AddDocumentation for this section has not yet been entered.
ICollection<KeyValuePair<TKey, TValue>>.ContainsDocumentation for this section has not yet been entered.
IDictionary.Contains

Gets whether the IDictionary`2 contains an element with the specified key.

ICollection.CopyTo

Copies the elements of the ICollection to an array, starting at the specified array index.

ICollection<KeyValuePair<TKey, TValue>>.CopyToDocumentation for this section has not yet been entered.
IDictionary.GetEnumerator

Provides a IDictionaryEnumerator for the IDictionary`2.

IEnumerable.GetEnumerator

Returns an enumerator that iterates through the System.Collections.Concurrent.ConcurrentDictionary`2.

[read-only]
IDictionary.IsFixedSizebool.

Gets a value indicating whether the IDictionary`2 has a fixed size.

[read-only]
ICollection<KeyValuePair<TKey, TValue>>.IsReadOnlybool. Documentation for this section has not yet been entered.
[read-only]
IDictionary.IsReadOnlybool.

Gets a value indicating whether the IDictionary`2 is read-only.

[read-only]
ICollection.IsSynchronizedbool.

Gets a value indicating whether access to the ICollection is synchronized with the SyncRoot.

IDictionary.Itemobject. Documentation for this section has not yet been entered.
[read-only]
IDictionary.KeysICollection.

Gets an ICollection that contains the keys of the IDictionary`2.

ICollection<KeyValuePair<TKey, TValue>>.RemoveDocumentation for this section has not yet been entered.
IDictionary.Remove

Removes the element with the specified key from the IDictionary.

IDictionary<TKey, TValue>.RemoveDocumentation for this section has not yet been entered.
[read-only]
ICollection.SyncRootobject.

Gets an object that can be used to synchronize access to the ICollection. This property is not supported.

[read-only]
IDictionary.ValuesICollection.

Gets an ICollection that contains the values in the IDictionary.