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

Inheritance: StreamObject
显示文件 Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
DataElementFragment ( ) : System.Collections.Generic

Initializes a new instance of the DataElementFragment class.

Protected Methods

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

Used to de-serialize the element.

SerializeItemsToByteList ( List byteList ) : int

Used to convert the element into a byte List.

Method Details

DataElementFragment() public method

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

DeserializeItemsFromByteArray() protected method

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

SerializeItemsToByteList() protected method

Used to convert the element into a byte List.
protected SerializeItemsToByteList ( List byteList ) : int
byteList List A Byte list
return int