XmlSerializerSerialize Method

Overload List

Serialize(Object, XmlSerializationOptions) Serializes the object passed in obj parameter into a new XElement object.
Serialize(Stream, Object, XmlSerializationOptions) Serializes the object passed in obj into the provided Stream.
Serialize(String, Object, XmlSerializationOptions) Serializes the object passed in obj into the specified fileName.
Serialize(TextWriter, Object, XmlSerializationOptions) Serializes the object passed in obj by the provided TextWriter object.
Serialize(XmlWriter, Object, XmlSerializationOptions) Serializes the object passed in obj by the provided XmlWriter object.

See Also