Table of contents
TOC
Collapse the table of content
Expand the table of content

XMLSerializer Class

SharePoint Dev Documents|Last Updated: 6/22/2017
|
1 Contributor

Holds methods for XML serialization

Namespace:OfficeDevPnP.Core.Utilities
Assembly: OfficeDevPnP.Core.dll

Inheritance Hierarchy

System.Object

Syntax

public static class XMLSerializer

Methods

NameDescription
Deserialize<T>(XDocument)Deserialize an XDocuemnt to instance of an object T
Deserialize<T>(String)Deserializes an XML string to an object instance
Serialize<T>(T)Serializes an object instance to an XML represented string.
Serialize<T>(T, XmlSerializerNamespaces)Serializes an object instance to an XML represented string, providing custom namespace prefixes.
SerializeToStream<T>(T)Serializes an object instance to a stream.
SerializeToStream<T>(T, XmlSerializerNamespaces)Serializes an object instance to a stream, providing custom namespace prefixes.

See also

© 2018 Microsoft