November 03, 2013
Writes the closing XML element to an XML stream or document.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
|WriteEndObject(XmlDictionaryWriter)||Writes the end of the object data as a closing XML element to the XML document or stream with an XmlDictionaryWriter.|
|WriteEndObject(XmlWriter)||Writes the end of the object data as a closing XML element to the XML document or stream with an XmlWriter.|
The WriteStartObject, WriteObjectContent, and methods must be implemented. The three methods are used in succession to write the complete serialization using the pattern: write start, write content, and write end. Users can insert XML attributes during the writing of the object between the calls to WriteStartObject and . The three methods are also called by the virtual implementation of the WriteObject method.