XmlSerializerSerializeContent Method

Overload List

SerializeContent(XElement, Object, XmlSerializationOptions) Saves public properties or collection elements of an object given in obj parameter into an already existing XElement object given in parent parameter with provided options.
SerializeContent(XmlWriter, Object, XmlSerializationOptions) Saves public properties or collection elements of an object given in obj parameter by an already opened XmlWriter object given in writer parameter with provided options.

See Also