Home > Language Reference > Classes > StreamSerial
Parity Property
Parity scheme to be used.
Syntax
Public Property Get Parity() As HbParity
Public Property Let Parity(ByVal eParity As HbParity)
| Parameter | Description |
| eParity | New parity scheme. |
Remarks
This property sets or retrieves the parity scheme used by the serial protocol. It can take one of the following values:
| Constants | Values | Meaning |
| hbParityNone | 0 | No parity |
| hbParityOdd | 1 | Odd |
| hbParityEven | 2 | Even |
Note: you have to ensure that the communication port is open using the Open method before setting this property.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.3 | N/A |