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

Show file Open project: OfficeDev/Interop-TestSuites

Public Properties

Property Type Description
String byte[]
StringType byte

Public Methods

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

Deserialize the ROP response buffer.

Serialize ( ) : byte[]

Serialize the ROP request buffer.

Size ( ) : int

Return the size of TypedString 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

Serialize() public method

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

Size() public method

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

Property Details

String public property

If the StringType field is set to 0x02, 0x03, or 0x04, then this field MUST be present and in the format specified by the Type field. Otherwise, this field MUST NOT be present.
public byte[] String
return byte[]

StringType public property

8-bit enumeration.The possible values are specified in [MS-OXCDATA].
public byte StringType
return byte