C# Class Microsoft.Protocols.TestSuites.SharedAdapter.DataElementPackage

A data element package contains the serialized file data elements made up of storage index, storage manifest, cell manifest, revision manifest, and object group or object data, or both.
Inheritance: StreamObject
Exibir arquivo Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
DataElementPackage ( ) : System.Collections.Generic

Initializes a new instance of the DataElementPackage class.

Protected Methods

Method Description
DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void

Used to de-serialize the elements.

SerializeItemsToByteList ( List byteList ) : int

Used to return the length of this element.

Method Details

DataElementPackage() public method

Initializes a new instance of the DataElementPackage class.
public DataElementPackage ( ) : System.Collections.Generic
return System.Collections.Generic

DeserializeItemsFromByteArray() protected method

Used to de-serialize the elements.
protected DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void
byteArray byte Byte array
currentIndex int Start position
lengthOfItems int Length of the element
return void

SerializeItemsToByteList() protected method

Used to return the length of this element.
protected SerializeItemsToByteList ( List byteList ) : int
byteList List A Byte list
return int