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

This class specifies the client knows about a state of a file.
Inheritance: StreamObject
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

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

Initializes a new instance of the Knowledge 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 knowledge from the byte array.

SerializeItemsToByteList ( List byteList ) : int

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

Method Details

DeserializeItemsFromByteArray() protected méthode

This method is used to deserialize the items of the 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 knowledge.
Résultat void

Knowledge() public méthode

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

SerializeItemsToByteList() protected méthode

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