NetDataContractSerializer.WriteEndObject Method
.NET Framework 4.5
Writes the closing XML element using the specified writer.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
WriteEndObject(XmlDictionaryWriter) | Writes the closing XML element using an XmlDictionaryWriter. (Overrides XmlObjectSerializer.WriteEndObject(XmlDictionaryWriter).) |
|
WriteEndObject(XmlWriter) | Writes the closing XML element using an XmlWriter. (Overrides XmlObjectSerializer.WriteEndObject(XmlWriter).) |
The WriteStartObject, WriteObjectContent, and WriteEndObject methods are used in succession to write the complete serialization using the pattern: write start, write content, and write end. The three methods are also called by the WriteObject method.