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)

ParameterDescription
eParityNew parity scheme.

Remarks

This property sets or retrieves the parity scheme used by the serial protocol. It can take one of the following values:

ConstantsValuesMeaning
hbParityNone0No parity
hbParityOdd1Odd
hbParityEven2Even

Note: you have to ensure that the communication port is open using the Open method before setting this property.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.3N/A