Lingua

SerialPort.RtsEnable Proprietà

Definizione

Ottiene o imposta un valore che indica se il segnale Request to Send (RTS) è abilitato durante la comunicazione seriale.

public:
 property bool RtsEnable { bool get(); void set(bool value); };
public bool RtsEnable { get; set; }
[System.ComponentModel.Browsable(true)]
public bool RtsEnable { get; set; }
member this.RtsEnable : bool with get, set
[<System.ComponentModel.Browsable(true)>]
member this.RtsEnable : bool with get, set
Public Property RtsEnable As Boolean

Valore della proprietà

true per abilitare la richiesta di trasmissione (RTS); in caso contrario, false. Il valore predefinito è false.

Attributi

Eccezioni

Il valore della RtsEnable proprietà è stato impostato o recuperato mentre la Handshake proprietà è impostata sul RequestToSend valore o sul RequestToSendXOnXOff valore .

La porta è in uno stato non valido.

oppure

Tentativo di impostare lo stato della porta sottostante non riuscita. Ad esempio, i parametri passati da questo SerialPort oggetto non sono validi.

Commenti

Il segnale Request to Transmit (RTS) viene in genere usato nell'handshaking hardware Request to Send/Clear to Send (RTS/CTS).

Si applica a