Writes specified line to stream. If CRLF is missing, it will be added automatically to line data.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public int WriteLine( string line )
Public Function WriteLine ( line As String ) As Integer
public: int WriteLine( String^ line )
member WriteLine : line : string -> int
Parameters
- line (String)
- Line to send.
Return Value
Int32
Returns number of raw bytes written.
Returns number of raw bytes written.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
ArgumentNullException | Is raised when line is null. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119