Show / Hide Table of Contents

Class SerializeExtensionMethods

Inheritance
System.Object
SerializeExtensionMethods
Namespace: Log73.ExtensionMethod
Assembly: Log73.dll
Syntax
public static class SerializeExtensionMethods : object

Methods

| Improve this Doc View Source

SerializeAsXml(Object)

Serializes an object to XML using the specified in XmlWriterSettings.

Declaration
public static string SerializeAsXml(this object obj)
Parameters
Type Name Description
System.Object obj

The object to serialize as XML.

Returns
Type Description
System.String

obj serialized as XML.

| Improve this Doc View Source

SerializeAsXml(Object, XmlWriterSettings)

Serializes an object to XML using the specified >.

Declaration
public static string SerializeAsXml(this object obj, XmlWriterSettings xmlWriterSettings)
Parameters
Type Name Description
System.Object obj

The object to serialize as XML.

XmlWriterSettings xmlWriterSettings

The to use when serializing the object.

Returns
Type Description
System.String

obj serialized as XML.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX