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!

StreamWriter.Null

Provides a repository with no backing store that can be written to, but not read from. Use Null to redirect output to a stream that will not consume any operating system resources.

[Visual Basic]
Public Shared ReadOnly Null As StreamWriter
[C#]
public static readonly StreamWriter Null;
[C++]
public: static readonly StreamWriter* Null;
[JScript]
public static var Null : StreamWriter;

Remarks

When the StreamWriter Write methods are invoked on Null, the call simply returns, and no data is actually written to an underlying data source or repository.

See Also

StreamWriter Class | StreamWriter Members | System.IO Namespace