NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TextWriter.WriteLine (String, Object, Object)

Writes out a formatted string and a new line, using the same semantics as Format.

[Visual Basic]
Overloads Overridable Public Sub WriteLine( _
   ByVal format As String, _
   ByVal arg0 As Object, _
   ByVal arg1 As Object _
)
[C#]
public virtual void WriteLine(
   string format,
   object arg0,
   object arg1
);
[C++]
public: virtual void WriteLine(
   String* format,
   Object* arg0,
   Object* arg1
);
[JScript]
public function WriteLine(
   format : String,
   arg0 : Object,
   arg1 : Object
);

Parameters

format
The formatting string.
arg0
The object to write into format string.
arg1
The object to write into the formatted string.

Exceptions

Exception Type Condition
ArgumentNullException A a null reference (in Visual Basic Nothing) string or object is passed.
IOException An I/O error occurs.

See Also

TextWriter Class | TextWriter Members | System.IO Namespace | TextWriter.WriteLine Overload List