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

This class is used to tell the client which fragments of a large data element have been uploaded to the server.
Inheritance: SpecializedKnowledgeData
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
FragmentKnowledge ( ) : System.Collections.Generic

Initializes a new instance of the FragmentKnowledge class.

Protected Methods

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

This method is used to deserialize the items of the fragment knowledge from the byte array.

SerializeItemsToByteList ( List byteList ) : int

This method is used to serialize the items of the fragment knowledge to the byte list.

Method Details

DeserializeItemsFromByteArray() protected method

This method is used to deserialize the items of the fragment knowledge from the byte array.
protected DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void
byteArray byte Specify the byte array.
currentIndex int Specify the start index from the byte array.
lengthOfItems int Specify the current length of items in the fragment knowledge.
return void

FragmentKnowledge() public method

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

SerializeItemsToByteList() protected method

This method is used to serialize the items of the fragment knowledge to the byte list.
protected SerializeItemsToByteList ( List byteList ) : int
byteList List Specify the byte list which stores the information of the fragment knowledge.
return int