C# Class Microsoft.Protocols.TestSuites.MS_OXCFXICS.SerializableBase

Base serializable class.
Inheritance: IStructSerializable, IStructDeserializable
Datei anzeigen Open project: OfficeDev/Interop-TestSuites

Public Properties

Property Type Description
GuidSize int

Public Methods

Method Description
Deserialize ( Stream stream, int size ) : int

Deserialize an object from a stream.

Serialize ( Stream stream ) : int

Serialize current instance to a stream.

Method Details

Deserialize() public abstract method

Deserialize an object from a stream.
public abstract Deserialize ( Stream stream, int size ) : int
stream Stream A stream contains object fields.
size int Max length can used by this deserialization /// if -1 no limitation except stream length. ///
return int

Serialize() public method

Serialize current instance to a stream.
public Serialize ( Stream stream ) : int
stream Stream The stream.
return int

Property Details

GuidSize public_oe property

The size of a GUID structure in bytes.
public int GuidSize
return int