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
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode Description
FragmentKnowledge ( ) : System.Collections.Generic

Initializes a new instance of the FragmentKnowledge class.

Méthodes protégées

Méthode 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 méthode

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.
Résultat void

FragmentKnowledge() public méthode

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

SerializeItemsToByteList() protected méthode

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.
Résultat int