The Parity property returns the current value of Parity control (none, odd, even, mark, or space). If serial port is not recreated, the property will return -1.

LONG Parity;

 

Property Value : Enable or disable parity control. This property can be one of the following values:

ValueMeaning
EVENPARITYEven
MARKPARITYMark
NOPARITYNo parity
ODDPARITYOdd
SPACEPARITYSpace