Compartir a través de


DataContractJsonSerializer.WriteStartObject Método

Definición

Escribe el elemento XML de apertura para serializar un objeto a XML que puede estar asignado a JavaScript Object Notation (JSON).

Sobrecargas

WriteStartObject(XmlDictionaryWriter, Object)

Escribe el elemento XML de apertura para serializar un objeto a XML que puede asignarse a JavaScript Object Notation (JSON) utilizando XmlDictionaryWriter.

WriteStartObject(XmlWriter, Object)

Escribe el elemento XML de apertura para serializar un objeto a XML que puede asignarse a JavaScript Object Notation (JSON) utilizando XmlWriter.

WriteStartObject(XmlDictionaryWriter, Object)

Source:
DataContractJsonSerializer.cs
Source:
DataContractJsonSerializer.cs
Source:
DataContractJsonSerializer.cs

Escribe el elemento XML de apertura para serializar un objeto a XML que puede asignarse a JavaScript Object Notation (JSON) utilizando XmlDictionaryWriter.

public:
 override void WriteStartObject(System::Xml::XmlDictionaryWriter ^ writer, System::Object ^ graph);
public override void WriteStartObject (System.Xml.XmlDictionaryWriter writer, 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)

Parámetros

writer
XmlDictionaryWriter

XmlDictionaryWriter que se usa para escribir el elemento de inicio XML.

graph
Object

Objeto que se va a escribir.

Se aplica a

WriteStartObject(XmlWriter, Object)

Source:
DataContractJsonSerializer.cs
Source:
DataContractJsonSerializer.cs
Source:
DataContractJsonSerializer.cs

Escribe el elemento XML de apertura para serializar un objeto a XML que puede asignarse a JavaScript Object Notation (JSON) utilizando XmlWriter.

public:
 override void WriteStartObject(System::Xml::XmlWriter ^ writer, System::Object ^ graph);
public override void WriteStartObject (System.Xml.XmlWriter writer, 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)

Parámetros

writer
XmlWriter

XmlWriter que se usa para escribir el elemento de inicio XML.

graph
Object

Objeto que se va a escribir.

Se aplica a