SerialParity SerialParity SerialParity SerialParity Enum

Definition

Defines values for the parity bit for the serial data transmission. The values are used by the Parity property on the SerialDevice object.

public : enum class SerialParitypublic enum SerialParityPublic Enum SerialParity// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Even Even Even Even

Sets the parity bit so that the total count of data bits set is an even number.

Mark Mark Mark Mark

Leaves the parity bit set to 1.

None None None None

No parity check occurs.

Odd Odd Odd Odd

Sets the parity bit so that the total count of data bits set is an odd number.

Space Space Space Space

Leaves the parity bit set to 0.