Uredi

Deli z drugimi prek


ObjectStateFormatter.IFormatter.Serialize(Stream, Object) Method

Definition

For a description of this member, see Serialize(Stream, Object).

 virtual void System.Runtime.Serialization.IFormatter.Serialize(System::IO::Stream ^ serializationStream, System::Object ^ stateGraph) = System::Runtime::Serialization::IFormatter::Serialize;
void IFormatter.Serialize (System.IO.Stream serializationStream, object stateGraph);
abstract member System.Runtime.Serialization.IFormatter.Serialize : System.IO.Stream * obj -> unit
override this.System.Runtime.Serialization.IFormatter.Serialize : System.IO.Stream * obj -> unit
Sub Serialize (serializationStream As Stream, stateGraph As Object) Implements IFormatter.Serialize

Parameters

serializationStream
Stream

The stream where the formatter puts the serialized data. This stream can reference a variety of backing stores (such as files, network, memory, and so on).

stateGraph
Object

The object, or root of the object graph, to serialize. All child objects of this root object are automatically serialized.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ObjectStateFormatter instance is cast to an IFormatter interface.

Applies to