DataContractJsonSerializer.WriteStartObject DataContractJsonSerializer.WriteStartObject DataContractJsonSerializer.WriteStartObject DataContractJsonSerializer.WriteStartObject Method

Definition

Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON).

Overloads

WriteStartObject(XmlDictionaryWriter, Object) WriteStartObject(XmlDictionaryWriter, Object) WriteStartObject(XmlDictionaryWriter, Object) WriteStartObject(XmlDictionaryWriter, Object)

Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON) using an XmlDictionaryWriter.

WriteStartObject(XmlWriter, Object) WriteStartObject(XmlWriter, Object) WriteStartObject(XmlWriter, Object) WriteStartObject(XmlWriter, Object)

Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON) using an XmlWriter.

WriteStartObject(XmlDictionaryWriter, Object) WriteStartObject(XmlDictionaryWriter, Object) WriteStartObject(XmlDictionaryWriter, Object) WriteStartObject(XmlDictionaryWriter, Object)

Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON) using an XmlDictionaryWriter.

public:
 override void WriteStartObject(System::Xml::XmlDictionaryWriter ^ writer, System::Object ^ graph);
public override void WriteStartObject (System.Xml.XmlDictionaryWriter writer, object graph);
override this.WriteStartObject : System.Xml.XmlDictionaryWriter * obj -> unit
Public Overrides Sub WriteStartObject (writer As XmlDictionaryWriter, graph As Object)

Parameters

graph
Object Object Object Object

The object to write.

WriteStartObject(XmlWriter, Object) WriteStartObject(XmlWriter, Object) WriteStartObject(XmlWriter, Object) WriteStartObject(XmlWriter, Object)

Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON) using an XmlWriter.

public:
 override void WriteStartObject(System::Xml::XmlWriter ^ writer, System::Object ^ graph);
public override void WriteStartObject (System.Xml.XmlWriter writer, object graph);
override this.WriteStartObject : System.Xml.XmlWriter * obj -> unit
Public Overrides Sub WriteStartObject (writer As XmlWriter, graph As Object)

Parameters

writer
XmlWriter XmlWriter XmlWriter XmlWriter

The XmlWriter used to write the XML start element.

graph
Object Object Object Object

The object to write.

Applies to