menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Common - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Common

    Helper class to serialize and de-serialize objects.

    Inheritance
    System.Object
    Common
    Namespace: Syncfusion.Olap.UWP.Common
    Assembly: Syncfusion.Olap.UWP.dll
    Syntax
    public class Common : Object

    Constructors

    Common()

    Declaration
    public Common()

    Methods

    DeserializeObject<T>(String)

    De-serializes the XML string to object.

    Declaration
    public static T DeserializeObject<T>(string xml)
    Parameters
    Type Name Description
    System.String xml

    The XML string.

    Returns
    Type Description
    T

    The de-serialized object.

    Type Parameters
    Name
    T

    SerializeObject<T>(T)

    Serializes the object to XML string.

    Declaration
    public static string SerializeObject<T>(T obj)
    Parameters
    Type Name Description
    T obj

    The object to be serialized.

    Returns
    Type Description
    System.String

    The serialized XML string.

    Type Parameters
    Name
    T

    Extension Methods

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