> For the complete documentation index, see [llms.txt](https://xplat.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xplat.gitbook.io/docs/xplat.foundation/iobservablemap.md).

# IObservableMap

> Namespace: XPlat.Foundation.Collections

Notifies listeners of dynamic changes to a map, such as when items are added or removed.

```csharp
public interface IObservableMap<K, V> : IDictionary<K, V>
```

## Supported platforms

| Platform        | Version    |
| --------------- | ---------- |
| .NET Standard   | 2.0        |
| Xamarin.Android | 9.0        |
| Xamarin.iOS     | 1.0        |
| UWP             | 10.0.16299 |

## Events

### MapChanged

Occurs when the map changes.

```csharp
event MapChangedEventHandler<K, V> MapChanged;
```

## Related information

### References

[IObservableMap - Microsoft Docs](https://docs.microsoft.com/en-us/uwp/api/windows.foundation.collections.iobservablemap_k_v_)
