Export (0) Print
Expand All

NetDataContractSerializer.WriteEndObject Method (XmlWriter)

Writes the closing XML element using an XmlWriter.

Namespace:  System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public override void WriteEndObject(
	XmlWriter writer
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter used to write the XML document or stream.

ExceptionCondition
ArgumentNullException

the writer is set to null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft