SerialPortSettings..::..Parity Property
Summary:
Gets or sets the parity-checking protocol.
Returns:
One of the System.IO.Ports.Parity values that represents the parity-checking
protocol. The default is None.
Exceptions:
System.IO.IOException:
The port is in an invalid state. - or - An attempt to set the state of the
underlying port failed. For example, the parameters passed from this System.IO.Ports.SerialPort
object were invalid.
System.ArgumentOutOfRangeException:
The System.IO.Ports.SerialPort.Parity value passed is not a valid value in
the System.IO.Ports.Parity enumeration.
Namespace:
CAS.Lib.CommonBus.CommunicationLayer.RSAssembly: CommServer.CommonBus (in CommServer.CommonBus.dll)
Syntax
[BrowsableAttribute] [MonitoringDescriptionAttribute] public Parity Parity { get; set; }
<BrowsableAttribute> _ <MonitoringDescriptionAttribute> _ Public Property Parity As Parity Get Set
[BrowsableAttribute] [MonitoringDescriptionAttribute] public: property Parity^ Parity { Parity^ get (); void set (Parity^ value); }