IndentedTextWriterWriteLine(String, Object, Object) - метод

Writes a formatted string and a new line to the text stream, using the same semantics as the Format(String, Object, Object) method.

Definition

Пространство имён: Tessa.Platform.IO
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public override void WriteLine(
	string format,
	Object? arg0,
	Object? arg1
)

Параметры

format  String
A composite format string.
arg0  Object
The first object to format and write.
arg1  Object
The second object to format and write.

Исключения

ArgumentNullExceptionformat is .
ObjectDisposedExceptionThe TextWriter is closed.
IOExceptionAn I/O error occurs.
FormatExceptionformat is not a valid composite format string. -or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is two).

См. также