menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SerializableDictionary<TKey, TValue> - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SerializableDictionary<TKey, TValue>

    A Dictionary that holds the key-value pair, which can be serialized.

    Inheritance
    System.Object
    SerializableDictionary<TKey, TValue>
    Implements
    System.Xml.Serialization.IXmlSerializable
    Namespace: Syncfusion.Olap.UWP.Common
    Assembly: Syncfusion.Olap.UWP.dll
    Syntax
    public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, IXmlSerializable
    Type Parameters
    Name Description
    TKey

    The type of the key.

    TValue

    The type of the value.

    Constructors

    SerializableDictionary()

    Initializes a new instance of the SerializableDictionary<TKey, TValue> class.

    Declaration
    public SerializableDictionary()

    Methods

    GetSchema()

    This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the System.Xml.Serialization.XmlSchemaProviderAttribute to the class.

    Declaration
    public XmlSchema GetSchema()
    Returns
    Type Description
    System.Xml.Schema.XmlSchema

    An System.Xml.Schema.XmlSchema describes the XML representation of the object that is produced by the System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter) method and consumed by the System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader) method.

    ReadXml(XmlReader)

    Generates an object from its XML representation.

    Declaration
    public void ReadXml(XmlReader reader)
    Parameters
    Type Name Description
    System.Xml.XmlReader reader

    The System.Xml.XmlReader stream from which the object is de-serialized.

    WriteXml(XmlWriter)

    Converts an object into its XML representation.

    Declaration
    public void WriteXml(XmlWriter writer)
    Parameters
    Type Name Description
    System.Xml.XmlWriter writer

    The System.Xml.XmlWriter stream to which the object is serialized.

    Implements

    System.Xml.Serialization.IXmlSerializable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved