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[])

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 arg() As Object _
)
[C#]
public virtual void WriteLine(
   string format,
   object[] arg
);
[C++]
public: virtual void WriteLine(
   String* format,
   Object* arg[]
);
[JScript]
public function WriteLine(
   format : String,
   arg : Object[]
);

Parameters

format
The formatting string.
arg
The object array to write into format 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