DataContractSerializer.WriteStartObject Method (XmlWriter, Object)

July 28, 2014

Writes the opening XML element using an XmlWriter.

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

public override void WriteStartObject(
	XmlWriter writer,
	Object graph
)

Parameters

writer
Type: System.Xml.XmlWriter
The XmlWriter used to write the XML start element.
graph
Type: System.Object
The object to write.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft