System.Runtime.Serialization.Formatter Members

The members of System.Runtime.Serialization.Formatter are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Runtime.Serialization.Formatter class.

Protected Fields

m_idGeneratorObjectIDGenerator.

Contains the System.Runtime.Serialization.ObjectIDGenerator used with the current formatter.

m_objectQueueQueue.

Contains a Queue of the objects left to serialize.

Public Properties

abstract
BinderSerializationBinder.

When overridden in a derived class, gets or sets the System.Runtime.Serialization.SerializationBinder used with the current formatter.

abstract
ContextStreamingContext.

When overridden in a derived class, gets or sets the System.Runtime.Serialization.StreamingContext used for the current serialization.

abstract
SurrogateSelectorISurrogateSelector.

When overridden in a derived class, gets or sets the System.Runtime.Serialization.ISurrogateSelector used with the current formatter.

Public Methods

abstract
Deserialize(System.IO.Stream) : object

When overridden in a derived class, deserializes the stream attached to the formatter when it was created, creating a graph of objects identical to the graph originally serialized into that stream.

abstract
Serialize(System.IO.Stream, object)

When overridden in a derived class, serializes the graph of objects with the specified root to the stream already attached to the formatter.

Protected Methods

GetNext(out long) : object
Documentation for this section has not yet been entered.
Schedule(object) : long

Schedules an object for later serialization.

abstract
WriteArray(object, string, Type)

When overridden in a derived class, writes an array to the stream already attached to the formatter.

abstract
WriteBoolean(bool, string)

When overridden in a derived class, writes a Boolean value to the stream already attached to the formatter.

abstract
WriteByte(byte, string)

When overridden in a derived class, writes an 8-bit unsigned integer to the stream already attached to the formatter.

abstract
WriteChar(char, string)

When overridden in a derived class, writes a Unicode character to the stream already attached to the formatter.

abstract
WriteDateTime(DateTime, string)

When overridden in a derived class, writes a DateTime value to the stream already attached to the formatter.

abstract
WriteDecimal(decimal, string)

When overridden in a derived class, writes a decimal value to the stream already attached to the formatter.

abstract
WriteDouble(double, string)

When overridden in a derived class, writes a double-precision floating-point number to the stream already attached to the formatter.

abstract
WriteInt16(short, string)

When overridden in a derived class, writes a 16-bit signed integer to the stream already attached to the formatter.

abstract
WriteInt32(int, string)

When overridden in a derived class, writes a 32-bit signed integer to the stream.

abstract
WriteInt64(long, string)

When overridden in a derived class, writes a 64-bit signed integer to the stream.

WriteMember(string, object)

Inspects the type of data received, and calls the appropriate Write method to perform the write to the stream already attached to the formatter.

abstract
WriteObjectRef(object, string, Type)

When overridden in a derived class, writes an object reference to the stream already attached to the formatter.

abstract
WriteSByte(sbyte, string)

When overridden in a derived class, writes an 8-bit signed integer to the stream already attached to the formatter.

abstract
WriteSingle(float, string)

When overridden in a derived class, writes a single-precision floating-point number to the stream already attached to the formatter.

abstract
WriteTimeSpan(TimeSpan, string)

When overridden in a derived class, writes a TimeSpan value to the stream already attached to the formatter.

abstract
WriteUInt16(ushort, string)

When overridden in a derived class, writes a 16-bit unsigned integer to the stream already attached to the formatter.

abstract
WriteUInt32(uint, string)

When overridden in a derived class, writes a 32-bit unsigned integer to the stream already attached to the formatter.

abstract
WriteUInt64(ulong, string)

When overridden in a derived class, writes a 64-bit unsigned integer to the stream already attached to the formatter.

abstract
WriteValueType(object, string, Type)

When overridden in a derived class, writes a value of the given type to the stream already attached to the formatter.