The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XmlObjectSerializer::WriteObjectContent Method
.NET Framework (current version)
Writes only the content of an object to an XML document or stream.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
| Name | Description | |
|---|---|---|
![]() | WriteObjectContent(XmlDictionaryWriter^, Object^) | Writes only the content of the object to the XML document or stream using the specified XmlDictionaryWriter. |
![]() | WriteObjectContent(XmlWriter^, Object^) | Writes only the content of the object to the XML document or stream with the specified XmlWriter. |
The WriteStartObject, WriteObjectContent, and WriteEndObject 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. If the implementation writes using XML elements, attributes can be inserted before writing the contents of the object. The three methods are also called by the virtual implementation of the WriteObject method.
Show:
