BinaryFormatter::Serialize Method

 

Serializes an object, or graph of connected objects, to the given stream.

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

NameDescription
System_CAPS_pubmethodSerialize(Stream^, Object^)

Serializes the object, or graph of objects with the specified top (root), to the given stream.

System_CAPS_pubmethodSerialize(Stream^, Object^, array<Header^>^)

Serializes the object, or graph of objects with the specified top (root), to the given stream attaching the provided headers.

Return to top
Show: