NetDataContractSerializer.WriteEndObject Method


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Writes the closing XML element using the specified writer.

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

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.

Return to top