    

 ## On this page

  

 

 # Class ObservableConcurrentDictionary&lt;TKey, TValue\\&gt;

 Last update: 09.03.2026 

<a id="VM_Collections_ObservableConcurrentDictionary_2"></a>

Namespace: [VM.Collections](VM.Collections.md)  
Assembly: VM.dll

```csharp
public class ObservableConcurrentDictionary<TKey, TValue>

```

#### Type Parameters

`TKey`

`TValue`

#### Inheritance

object ← [ObservableConcurrentDictionary&lt;TKey, TValue&gt;](VM.Collections.ObservableConcurrentDictionary-2.md)

## Constructors

### <a id="VM_Collections_ObservableConcurrentDictionary_2__ctor"></a> ObservableConcurrentDictionary()

```csharp
public ObservableConcurrentDictionary()

```

## Properties

### <a id="VM_Collections_ObservableConcurrentDictionary_2_Count"></a> Count

```csharp
public int Count { get; }

```

#### Property Value

int

### <a id="VM_Collections_ObservableConcurrentDictionary_2_IsReadOnly"></a> IsReadOnly

```csharp
public bool IsReadOnly { get; }

```

#### Property Value

bool

### <a id="VM_Collections_ObservableConcurrentDictionary_2_Keys"></a> Keys

```csharp
public ICollection<TKey> Keys { get; }

```

#### Property Value

ICollection&lt;TKey&gt;

### <a id="VM_Collections_ObservableConcurrentDictionary_2_Values"></a> Values

```csharp
public ICollection<TValue> Values { get; }

```

#### Property Value

ICollection&lt;TValue&gt;

### <a id="VM_Collections_ObservableConcurrentDictionary_2_Item__0_"></a> this\[TKey\]

```csharp
public TValue this[TKey key] { get; set; }

```

#### Property Value

TValue

## Methods

### <a id="VM_Collections_ObservableConcurrentDictionary_2___OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_"></a> &lt;&gt;OnPropertyChanged(PropertyChangedEventArgs)

```csharp
protected void <>OnPropertyChanged(PropertyChangedEventArgs eventArgs)

```

#### Parameters

`eventArgs` PropertyChangedEventArgs

### <a id="VM_Collections_ObservableConcurrentDictionary_2_Add__0__1_"></a> Add(TKey, TValue)

```csharp
public void Add(TKey key, TValue value)

```

#### Parameters

`key` TKey

`value` TValue

### <a id="VM_Collections_ObservableConcurrentDictionary_2_Clear"></a> Clear()

```csharp
public void Clear()

```

### <a id="VM_Collections_ObservableConcurrentDictionary_2_Contains_System_Collections_Generic_KeyValuePair__0__1__"></a> Contains(KeyValuePair&lt;TKey, TValue&gt;)

```csharp
public bool Contains(KeyValuePair<TKey, TValue> item)

```

#### Parameters

`item` KeyValuePair&lt;TKey, TValue&gt;

#### Returns

bool

### <a id="VM_Collections_ObservableConcurrentDictionary_2_ContainsKey__0_"></a> ContainsKey(TKey)

```csharp
public bool ContainsKey(TKey key)

```

#### Parameters

`key` TKey

#### Returns

bool

### <a id="VM_Collections_ObservableConcurrentDictionary_2_CopyTo_System_Collections_Generic_KeyValuePair__0__1____System_Int32_"></a> CopyTo(KeyValuePair&lt;TKey, TValue&gt;\[\], int)

```csharp
public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)

```

#### Parameters

`array` KeyValuePair&lt;TKey, TValue&gt;\[\]

`arrayIndex` int

### <a id="VM_Collections_ObservableConcurrentDictionary_2_GetEnumerator"></a> GetEnumerator()

```csharp
public IEnumerator GetEnumerator()

```

#### Returns

IEnumerator

### <a id="VM_Collections_ObservableConcurrentDictionary_2_Remove__0_"></a> Remove(TKey)

```csharp
public bool Remove(TKey key)

```

#### Parameters

`key` TKey

#### Returns

bool

### <a id="VM_Collections_ObservableConcurrentDictionary_2_TryGetValue__0__1__"></a> TryGetValue(TKey, out TValue)

```csharp
public bool TryGetValue(TKey key, out TValue value)

```

#### Parameters

`key` TKey

`value` TValue

#### Returns

bool

### <a id="VM_Collections_ObservableConcurrentDictionary_2_CollectionChanged"></a> CollectionChanged

```csharp
public event NotifyCollectionChangedEventHandler CollectionChanged

```

#### Event Type

NotifyCollectionChangedEventHandler

### <a id="VM_Collections_ObservableConcurrentDictionary_2_PropertyChanged"></a> PropertyChanged

```csharp
public event PropertyChangedEventHandler PropertyChanged

```

#### Event Type

PropertyChangedEventHandler