Table of Contents

WriteXml Method

Definition

WriteXml(XmlWriter, object, XmlQualifiedEntity)

Writes the XML representation of the value.

public override void WriteXml(XmlWriter writer, object value, XmlQualifiedEntity elementName = null)

Parameters

writer XmlWriter

The XmlWriter to write to.

value object

The object to serialize.

elementName XmlQualifiedEntity

The element name to encapsulate around value.

Exceptions

InvalidOperationException

Delegate writer is null.