Export (0) Print
Expand All

Formatter.Serialize Method

When overridden in a derived class, serializes the graph of objects with the specified root to the stream already attached to the formatter.

This method is not CLS-compliant.  

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

public abstract void Serialize (
	Stream serializationStream,
	Object graph
)
public abstract void Serialize (
	Stream serializationStream, 
	Object graph
)
public abstract function Serialize (
	serializationStream : Stream, 
	graph : Object
)
Not applicable.

Parameters

serializationStream

The stream to which the objects are serialized.

graph

The object at the root of the graph to serialize.

Notes to Inheritors: You must implement this method in a derived class.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft