Class SerializeExtensionMethods
Inheritance
System.Object
SerializeExtensionMethods
Namespace: Log73.ExtensionMethod
Assembly: Log73.dll
Syntax
public static class SerializeExtensionMethods : object
Methods
| Improve this Doc View SourceSerializeAsXml(Object)
Serializes an object to XML using the
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 |
|
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 |
Returns
Type | Description |
---|---|
System.String |
|