Click or drag to resize
XmlSerializerSerialize Method (Stream, Object)
Serializes the specified System.Object and writes the XML document to a file using the specified System.IO.Stream.

Namespace: System.Xml.Serialization
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public void Serialize(
	Stream stream,
	Object o
)

Parameters

stream
Type: System.IOStream
The System.IO.Stream used to write the XML document.
o
Type: SystemObject
The System.Object to serialize.
See Also