menu

UWP

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

    Show / Hide Table of Contents

    Class XmlParser

    Parser class for XML manipulations.

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

    Constructors

    XmlParser()

    Declaration
    public XmlParser()

    Methods

    ToXml(Object, Stream, Boolean)

    Converts the object to XML format content.

    Declaration
    public static void ToXml(object objToXml, Stream filePath, bool includeNameSpace)
    Parameters
    Type Name Description
    System.Object objToXml

    The object which will be serialized to XML.

    System.IO.Stream filePath

    The file path as stream object.

    System.Boolean includeNameSpace

    Indicates whether to include namespace.

    XmlToFromFile(Stream, Type)

    Converts the XML format content to object.

    Declaration
    public static object XmlToFromFile(Stream filePath, Type type)
    Parameters
    Type Name Description
    System.IO.Stream filePath

    The file path as a stream.

    System.Type type

    The type.

    Returns
    Type
    System.Object

    Extension Methods

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