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

Inheritance: NodeObject
Mostrar archivo Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
GetContent ( ) : List

Get all the content which is represented by the root node object.

RootNodeObject ( ) : System

Initializes a new instance of the RootNodeObject class.

Protected Methods

Method Description
DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void

Used to de-serialize the element.

SerializeItemsToByteList ( List byteList ) : int

Used to convert the element into a byte List.

Method Details

DeserializeItemsFromByteArray() protected method

Used to de-serialize the element.
protected DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void
byteArray byte A Byte array
currentIndex int Start position
lengthOfItems int The length of the items
return void

GetContent() public method

Get all the content which is represented by the root node object.
public GetContent ( ) : List
return List

RootNodeObject() public method

Initializes a new instance of the RootNodeObject class.
public RootNodeObject ( ) : System
return System

SerializeItemsToByteList() protected method

Used to convert the element into a byte List.
protected SerializeItemsToByteList ( List byteList ) : int
byteList List A Byte list
return int