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 |