SerialPort.BytesToWrite 속성

정의

송신 버퍼에 있는 데이터의 바이트 수를 가져옵니다.

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

속성 값

송신 버퍼에 있는 데이터의 바이트 수입니다.

특성

예외

포트의 상태가 올바르지 않은 경우

스트림이 닫혔습니다. 이런 경우는 Open() 메서드를 호출하지 않았거나 Close() 메서드를 호출했기 때문에 발생할 수 있습니다.

설명

송신 버퍼에는 직렬 드라이버의 송신 버퍼와 개체 자체의 내부 버퍼링이 SerialPort 포함됩니다.

적용 대상