[]
Saves an object to the specified System.Xml.XmlWriter.
public virtual void ToXml(XmlWriter writer)
Type | Name | Description |
---|---|---|
XmlWriter | writer | The System.Xml.XmlWriter that will receive the object data. |
Saves an object to the specified Stream.
public void ToXml(Stream stream)
Type | Name | Description |
---|---|---|
Stream | stream | The Stream that contains the object data. |