Share via


SerialPort.Parity Property

Gets or sets the parity-checking protocol.

Namespace: System.IO.Ports
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public Parity Parity { get; set; }

Property Value

One of the Parity values that represents the parity-checking protocol. The default is None.

Remarks

If a parity error occurs on the trailing byte of a stream, an extra byte will be added to the input buffer with a value of 126.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

SerialPort Class
SerialPort Members
System.IO.Ports Namespace