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

This class is used to specify the cell identifier.
Inheritance: BasicObject
Exibir arquivo Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
CellID ( ) : System.Collections.Generic

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

CellID ( CellID cellId ) : System.Collections.Generic

Initializes a new instance of the CellID class, this is the copy constructor.

CellID ( ExGuid extendGuid1, ExGuid extendGuid2 ) : System.Collections.Generic

Initializes a new instance of the CellID class with specified ExGuids.

Equals ( object obj ) : bool

Override the Equals method.

GetHashCode ( ) : int

Override the GetHashCode.

SerializeToByteList ( ) : List

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

Protected Methods

Method Description
DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int

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

Method Details

CellID() public method

Initializes a new instance of the CellID class, this is default constructor.
public CellID ( ) : System.Collections.Generic
return System.Collections.Generic

CellID() public method

Initializes a new instance of the CellID class, this is the copy constructor.
public CellID ( CellID cellId ) : System.Collections.Generic
cellId CellID Specify the CellID.
return System.Collections.Generic

CellID() public method

Initializes a new instance of the CellID class with specified ExGuids.
public CellID ( ExGuid extendGuid1, ExGuid extendGuid2 ) : System.Collections.Generic
extendGuid1 ExGuid Specify the first ExGuid.
extendGuid2 ExGuid Specify the second ExGuid.
return System.Collections.Generic

DoDeserializeFromByteArray() protected method

This method is used to deserialize the CellID 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.
return int

Equals() public method

Override the Equals method.
public Equals ( object obj ) : bool
obj object Specify the object.
return bool

GetHashCode() public method

Override the GetHashCode.
public GetHashCode ( ) : int
return int

SerializeToByteList() public method

This method is used to convert the element of CellID basic object into a byte List.
public SerializeToByteList ( ) : List
return List