This documentation is archived and is not being maintained.

DataContractJsonSerializer.WriteEndObject Method (XmlWriter)

Writes the closing XML element to an XML document, using an XmlWriter, which can be mapped to JavaScript Object Notation (JSON).

Namespace:  System.Runtime.Serialization.Json
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public override void WriteEndObject(
	XmlWriter writer
)

Parameters

writer
Type: System.Xml.XmlWriter

An XmlWriter used to write the XML document mapped to JSON.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: