Parity
Specifies the parity scheme to be used.
■
Syntax
[VB]
Public Property
[C#]
public EN_PARITY
■
Property
Parity
Parameter values: As listed in EN_PARITY
NOPARITY, ODDPARITY, EVENPARITY (connector interface communication)
NOPARITY (IrDA communication)
Default value: EN_PARITY.NOPARITY
■
Exceptions
None
■
Note
The value specified for this property will be valid the next time a send or receive operation is
performed.
If an invalid value is specified for this property, no exceptions will be thrown immediately;
however, an exception will be thrown later when an attempt is made to send or receive
data.
[Ex.] Set the parity bit to none.
[VB] MyFileTransfer.Parity = FileTransfer.EN_PARITY.NOPARITY
[C#] MyFileTransfer.Parity = FileTransfer.EN_PARITY.NOPARITY;
Parity
As EN_PARITY
Parity
{get; set}
- 315 -