SerializableDictionary<TKey,TValue> Class

Summary
Represents a serializable collection of keys and values.
Syntax
C#
VB
C++
[SerializableAttribute()] 
[XmlRootAttribute("custom")] 
public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, IXmlSerializable 
  
<XmlRootAttribute("custom")> 
<SerializableAttribute()> 
Public Class SerializableDictionary 
    (Of _TKey_,_TValue_)  
   Inherits System.Collections.Generic.Dictionary(Of TKey,TValue) 
   Implements System.Collections.Generic.ICollection(Of KeyValuePair(Of TKey,TValue)), System.Collections.Generic.IDictionary(Of TKey,TValue), System.Collections.Generic.IEnumerable(Of KeyValuePair(Of TKey,TValue)), System.Collections.Generic.IReadOnlyCollection(Of KeyValuePair(Of TKey,TValue)), System.Collections.Generic.IReadOnlyDictionary(Of TKey,TValue), System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[XmlRootAttribute("custom")] 
[SerializableAttribute()] 
generic<typename _TKey_> 
generic<typename _TValue_> 
public ref class SerializableDictionary : public System.Collections.Generic.Dictionary<TKey,TValue>, System.Collections.Generic.ICollection<KeyValuePair<TKey,TValue>>, System.Collections.Generic.IDictionary<TKey,TValue>, System.Collections.Generic.IEnumerable<KeyValuePair<TKey,TValue>>, System.Collections.Generic.IReadOnlyCollection<KeyValuePair<TKey,TValue>>, System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable   

Type Parameters

TKey
The type of the key.

TValue
The type of the value.

Example

For an example refer to Log

Requirements

Target Platforms

Help Version 21.0.2021.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly