.NET Framework Class Library
XmlSerializer..::.Serialize Method

Serializes an object into an XML document.

Overload List

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSerialize(Stream, Object)Serializes the specified Object and writes the XML document to a file using the specified Stream.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSerialize(TextWriter, Object)Serializes the specified Object and writes the XML document to a file using the specified TextWriter.
Protected methodSerialize(Object, XmlSerializationWriter)Infrastructure. Serializes the specified Object and writes the XML document to a file using the specified XmlSerializationWriter.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSerialize(XmlWriter, Object)Serializes the specified Object and writes the XML document to a file using the specified XmlWriter.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSerialize(Stream, Object, XmlSerializerNamespaces)Serializes the specified Object and writes the XML document to a file using the specified Streamthat references the specified namespaces.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSerialize(TextWriter, Object, XmlSerializerNamespaces)Serializes the specified Object and writes the XML document to a file using the specified TextWriter and references the specified namespaces.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSerialize(XmlWriter, Object, XmlSerializerNamespaces)Serializes the specified Object and writes the XML document to a file using the specified XmlWriter and references the specified namespaces.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSerialize(XmlWriter, Object, XmlSerializerNamespaces, String)Serializes the specified object and writes the XML document to a file using the specified XmlWriter and references the specified namespaces and encoding style.
Public methodSerialize(XmlWriter, Object, XmlSerializerNamespaces, String, String)Serializes the specified Object and writes the XML document to a file using the specified XmlWriter, XML namespaces, and encoding.
Top
See Also

Reference

Tags :


Page view tracker