SerialPort.BytesToWrite Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of bytes of data in the send buffer.
public:
property int BytesToWrite { int get(); };
public int BytesToWrite { get; }
[System.ComponentModel.Browsable(false)]
public int BytesToWrite { get; }
member this.BytesToWrite : int
[<System.ComponentModel.Browsable(false)>]
member this.BytesToWrite : int
Public ReadOnly Property BytesToWrite As Integer
Property Value
The number of bytes of data in the send buffer.
- Attributes
Exceptions
The port is in an invalid state.
The stream is closed. This can occur because the Open() method has not been called or the Close() method has been called.
Remarks
The send buffer includes the serial driver's send buffer as well as internal buffering in the SerialPort object itself.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.