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!

Formatter.Serialize

When overidden in a derived class, serialize the graph of objects, whose root is graph, to the stream already attached to the formatter.

[Visual Basic]
MustOverride Public Sub Serialize( _
   ByVal serializationStream As Stream, _
   ByVal graph As Object _
)
[C#]
public abstract void Serialize(
   Stream serializationStream,
   object graph
);
[C++]
public: virtual void Serialize(
   Stream* serializationStream,
   Object* graph
) = 0;
[JScript]
public abstract function Serialize(
   serializationStream : Stream,
   graph : Object
);

Parameters

serializationStream
[To be supplied.]
graph
The object at the root of the graph to be serialized.

See Also

Formatter Class | Formatter Members | System.Runtime.Serialization Namespace