[]
Saves an object to the specified XmlWriter.
public virtual void ToXml(XmlWriter writer)
Type | Name | Description |
---|---|---|
XmlWriter | writer | The 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. |