System.IO.Ports.SerialPortBase.WriteLine C# (CSharp) Méthode

WriteLine() public méthode

Appends NewLine to the string, encodes it using Encoding and sends it to a serial port.
The method does not return until all data are sent, including output buffer pauses and/or hardware flow control pauses, if applicable.
public WriteLine ( string text ) : void
text string String data to send.
Résultat void
        public void WriteLine(string text)
        {
            Write(text + NewLine);
        }