> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class ObservableConcurrentDictionary<TKey, TValue>

Namespace: [VM.Collections](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Collections)\
Assembly: VM.dll

```csharp theme={null}
public class ObservableConcurrentDictionary<TKey, TValue>
```

#### Type Parameters

`TKey`

`TValue`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[ObservableConcurrentDictionary\<TKey, TValue>](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Collections.ObservableConcurrentDictionary-2.md)

## Constructors

### ObservableConcurrentDictionary()

```csharp theme={null}
public ObservableConcurrentDictionary()
```

## Properties

### Count

```csharp theme={null}
public int Count { get; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### IsReadOnly

```csharp theme={null}
public bool IsReadOnly { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Keys

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

#### Property Value

[ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1)\<TKey>

### Values

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

#### Property Value

[ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1)\<TValue>

### this\[TKey]

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

#### Property Value

TValue

## Methods

### \<>OnPropertyChanged(PropertyChangedEventArgs)

```csharp theme={null}
protected void <>OnPropertyChanged(PropertyChangedEventArgs eventArgs)
```

#### Parameters

`eventArgs` [PropertyChangedEventArgs](https://learn.microsoft.com/dotnet/api/system.componentmodel.propertychangedeventargs)

### Add(TKey, TValue)

```csharp theme={null}
public void Add(TKey key, TValue value)
```

#### Parameters

`key` TKey

`value` TValue

### Clear()

```csharp theme={null}
public void Clear()
```

### Contains(KeyValuePair\<TKey, TValue>)

```csharp theme={null}
public bool Contains(KeyValuePair<TKey, TValue> item)
```

#### Parameters

`item` [KeyValuePair](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2)\<TKey, TValue>

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ContainsKey(TKey)

```csharp theme={null}
public bool ContainsKey(TKey key)
```

#### Parameters

`key` TKey

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### CopyTo(KeyValuePair\<TKey, TValue>\[], int)

```csharp theme={null}
public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
```

#### Parameters

`array` [KeyValuePair](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2)\<TKey, TValue>\[]

`arrayIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### GetEnumerator()

```csharp theme={null}
public IEnumerator GetEnumerator()
```

#### Returns

[IEnumerator](https://learn.microsoft.com/dotnet/api/system.collections.ienumerator)

### Remove(TKey)

```csharp theme={null}
public bool Remove(TKey key)
```

#### Parameters

`key` TKey

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### TryGetValue(TKey, out TValue)

```csharp theme={null}
public bool TryGetValue(TKey key, out TValue value)
```

#### Parameters

`key` TKey

`value` TValue

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### CollectionChanged

```csharp theme={null}
public event NotifyCollectionChangedEventHandler CollectionChanged
```

#### Event Type

[NotifyCollectionChangedEventHandler](https://learn.microsoft.com/dotnet/api/system.collections.specialized.notifycollectionchangedeventhandler)

### PropertyChanged

```csharp theme={null}
public event PropertyChangedEventHandler PropertyChanged
```

#### Event Type

[PropertyChangedEventHandler](https://learn.microsoft.com/dotnet/api/system.componentmodel.propertychangedeventhandler)
