ObjectStateFormatter.IFormatter.Serialize(Stream, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET