WriteXml Method
Definition
- Namespace
- Cuemon.Xml.Serialization.Converters
- Assemblies
- Cuemon.Xml.dll
WriteXml(XmlWriter, object, XmlQualifiedEntity)
Converts an object into its XML representation.
public override void WriteXml(XmlWriter writer, object value, XmlQualifiedEntity elementName = null)
Parameters
writerXmlWriterThe XmlWriter stream to which the object is serialized.
valueobjectThe object to convert.
elementNameXmlQualifiedEntityThe element name to encapsulate around
value.
Exceptions
- InvalidOperationException
There is an error in the XML document.