NetDataContractSerializer.Serialize(Stream, Object) NetDataContractSerializer.Serialize(Stream, Object) NetDataContractSerializer.Serialize(Stream, Object) Method

Definition

Serializes the specified object graph using the specified writer.

public:
 virtual void Serialize(System::IO::Stream ^ stream, System::Object ^ graph);
public void Serialize (System.IO.Stream stream, object graph);
abstract member Serialize : System.IO.Stream * obj -> unit
override this.Serialize : System.IO.Stream * obj -> unit

Parameters

stream
Stream Stream Stream

The Stream to serialize with.

graph
Object Object Object

The object to serialize. All child objects of this root object are automatically serialized.

Implements

Applies to