C# Class Microsoft.Protocols.TestSuites.Common.PropertyTag

A property tag both identifies a property and gives the data type its value.
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Properties

Property Type Description
PropertyId ushort
PropertyType ushort

Public Methods

Method Description
Deserialize ( byte ropBytes, int startIndex ) : int

Deserialize the ROP response buffer.

PropertyTag ( ushort propertyId, ushort propertyType ) : System

Initializes a new instance of the PropertyTag structure.

Serialize ( ) : byte[]

Serialize the ROP request buffer.

Size ( ) : int

Return the size of this structure.

Method Details

Deserialize() public method

Deserialize the ROP response buffer.
public Deserialize ( byte ropBytes, int startIndex ) : int
ropBytes byte ROPs bytes in response.
startIndex int The start index of this ROP.
return int

PropertyTag() public method

Initializes a new instance of the PropertyTag structure.
public PropertyTag ( ushort propertyId, ushort propertyType ) : System
propertyId ushort Property id
propertyType ushort Property type
return System

Serialize() public method

Serialize the ROP request buffer.
public Serialize ( ) : byte[]
return byte[]

Size() public method

Return the size of this structure.
public Size ( ) : int
return int

Property Details

PropertyId public property

A 16-bit unsigned integer that identifies the property.
public ushort PropertyId
return ushort

PropertyType public property

16-bit unsigned integer that identifies the data type of the property value.
public ushort PropertyType
return ushort