DataContractSerializer.WriteStartObject Method (XmlWriter, Object)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes the opening XML element using an XmlWriter.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
'Declaration Public Overrides Sub WriteStartObject ( _ writer As XmlWriter, _ graph As Object _ )
Parameters
- writer
- Type: System.Xml.XmlWriter
The XmlWriter used to write the XML start element.
- graph
- Type: System.Object
The object to write.
Show: