Click or drag to resize

StreamWriterWriteLine(String, Object, Object) Method

Writes out a formatted string and a new line, using the same semantics as System.String.Format(System.String,System.Object).

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public override void WriteLine(
	string format,
	Object? arg0,
	Object? arg1
)

Parameters

format  String
The formatting string.
arg0  Object
The object to write into the format string.
arg1  Object
The object to write into the format string.
Exceptions
ExceptionCondition
ArgumentNullException format is null.
ObjectDisposedException The CrestronIO.TextWriter is closed.
IOException An I/O error occurs.
FormatException The format specification in format is invalid.-or- The number indicating an argument to be formatted is less than zero, or larger than or equal to the number of provided objects to be formatted.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also