NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinarySerializer.Serialize (Object)

Serialize an object, or graph of connected objects.

[Visual Basic]
Overloads Public Shared Function Serialize( _
   ByVal obj As Object _
) As Stream
[C#]
public static Stream Serialize(
   object obj
);
[C++]
public: static Stream* Serialize(
   Object* obj
);
[JScript]
public static function Serialize(
   obj : Object
) : Stream;

Parameters

obj
The object at the root of the graph to be serialized.

Return Value

The memory stream created for the serialization.

Remarks

This is a simpler interface to Serialize.

See Also

BinarySerializer Class | BinarySerializer Members | System.Runtime.Serialization.Formatters.Binary Namespace | BinarySerializer.Serialize Overload List | BinaryFormatter