C# Class Microsoft.Protocols.TestSuites.MS_OXCFXICS.CodePage

The CodePage class used to transmit string properties using the code page format.
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
CodePage ( ) : System

Initializes a new instance of the CodePage class.

Deserialize ( ushort data ) : void

Deserialize the code page structure.

Serialize ( ) : byte[]

Serialize the code page data.

Size ( ) : int

Get the size of the code page structure.

Private Methods

Method Description
VerifyPropertyA ( ushort propertyA ) : bool

Verify the value of property A whether sets the top bit for 1.

Method Details

CodePage() public method

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

Deserialize() public method

Deserialize the code page structure.
public Deserialize ( ushort data ) : void
data ushort The code page data stores in the ushort type parameter.
return void

Serialize() public method

Serialize the code page data.
public Serialize ( ) : byte[]
return byte[]

Size() public method

Get the size of the code page structure.
public Size ( ) : int
return int