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

Inheritance: StreamObjectHeaderStart
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode Description
SerializeToByteList ( ) : List

This method is used to convert the element of StreamObjectHeaderStart16bit basic object into a byte List.

StreamObjectHeaderStart16bit ( ) : System

Initializes a new instance of the StreamObjectHeaderStart16bit class, this is the default constructor.

StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type ) : System

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type.

StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type, int length ) : System

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type and length.

ToUint16 ( ) : ushort

This method is used to get the Uint16 value of the 16bit stream object header.

Méthodes protégées

Méthode Description
DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int

This method is used to deserialize the StreamObjectHeaderStart16bit basic object from the specified byte array and start index.

Method Details

DoDeserializeFromByteArray() protected méthode

This method is used to deserialize the StreamObjectHeaderStart16bit basic object from the specified byte array and start index.
protected DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int
byteArray byte Specify the byte array.
startIndex int Specify the start index from the byte array.
Résultat int

SerializeToByteList() public méthode

This method is used to convert the element of StreamObjectHeaderStart16bit basic object into a byte List.
public SerializeToByteList ( ) : List
Résultat List

StreamObjectHeaderStart16bit() public méthode

Initializes a new instance of the StreamObjectHeaderStart16bit class, this is the default constructor.
public StreamObjectHeaderStart16bit ( ) : System
Résultat System

StreamObjectHeaderStart16bit() public méthode

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type.
public StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type ) : System
type StreamObjectTypeHeaderStart Specify the type of the StreamObjectHeaderStart16bit.
Résultat System

StreamObjectHeaderStart16bit() public méthode

Initializes a new instance of the StreamObjectHeaderStart16bit class with specified type and length.
public StreamObjectHeaderStart16bit ( StreamObjectTypeHeaderStart type, int length ) : System
type StreamObjectTypeHeaderStart Specify the type of the StreamObjectHeaderStart16bit.
length int Specify the length of the StreamObjectHeaderStart16bit.
Résultat System

ToUint16() public méthode

This method is used to get the Uint16 value of the 16bit stream object header.
public ToUint16 ( ) : ushort
Résultat ushort