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

The class is used to specify the ExGuid structure.
Inheritance: BasicObject
Mostrar archivo Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Override the Equals method.

ExGuid ( ) : System

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

ExGuid ( ExGuid guid2 ) : System

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

ExGuid ( uint value, System.Guid identifier ) : System

Initializes a new instance of the ExGuid class with specified value.

GetHashCode ( ) : int

Override the GetHashCode.

SerializeToByteList ( ) : List

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

Protected Methods

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

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

Method Details

DoDeserializeFromByteArray() protected method

This method is used to deserialize the ExGuid 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

ExGuid() public method

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

ExGuid() public method

Initializes a new instance of the ExGuid class, this is the copy constructor.
public ExGuid ( ExGuid guid2 ) : System
guid2 ExGuid Specify the ExGuid instance where copies from.
return System

ExGuid() public method

Initializes a new instance of the ExGuid class with specified value.
public ExGuid ( uint value, System.Guid identifier ) : System
value uint Specify the ExGUID Value.
identifier System.Guid Specify the ExGUID GUID value.
return System

GetHashCode() public method

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

SerializeToByteList() public method

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