
- 353 -
StopBits
Specifies the number of stop bits to be used.
■ Syntax
[VB]
Public Property StopBits As EN_STOPBITS
[C#]
public EN_STOPBITS StopBits {get; set}
■ Property
Stop bits
Parameter values
: As listed in EN_STOPBITS
ONEBIT, TWOBITS (connector interface communication)
ONEBIT (IrDA communication)
Default value
: EN_STOPBITS. ONEBIT
■ 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 stop bit to 1 bit.
[VB] MyFileTransfer.StopBits = FileTransfer.EN_STOPBITS.ONEBIT
[C#] MyFileTransfer.StopBits = FileTransfer.EN_STOPBITS.ONEBIT;
Comentarios a estos manuales