    

 ## On this page

  

 

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

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMObjBase.dll

SerializableDictionary

```csharp
public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>

```

#### Type Parameters

`TKey`

`TValue`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [Dictionary&lt;TKey, TValue&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2) ← [SerializableDictionary&lt;TKey, TValue&gt;](VM.Managed.SerializableDictionary-2.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### SerializableDictionary()

SerializableDictionary Constructor

```csharp
public SerializableDictionary()

```

### SerializableDictionary(Dictionary&lt;TKey, TValue&gt;)

SerializableDictionary Constructor

```csharp
public SerializableDictionary(Dictionary<TKey, TValue> dic)

```

#### Parameters

`dic` [Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)&lt;TKey, TValue&gt;

## Methods

### CopyTo(ref Dictionary&lt;TKey, TValue&gt;)

CopyTo

```csharp
public void CopyTo(ref Dictionary<TKey, TValue> dic)

```

#### Parameters

`dic` [Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)&lt;TKey, TValue&gt;

### GetSchema()

GetSchema

```csharp
public XmlSchema GetSchema()

```

#### Returns

[XmlSchema](https://learn.microsoft.com/dotnet/api/system.xml.schema.xmlschema)

### ReadXml(XmlReader)

ReadXml

```csharp
public void ReadXml(XmlReader reader)

```

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

### WriteXml(XmlWriter)

WriteXml

```csharp
public void WriteXml(XmlWriter writer)

```

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)