Stream.Null Field
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
A Stream with no backing store.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
Public Shared ReadOnly Null As Stream
public static readonly Stream Null
Remarks
Use Null to redirect output to a stream that will not consume any operating system resources. When the methods of Stream that provide writing are invoked on Null, the call simply returns, and no data is written. Null also implements a Read method that returns zero without reading data.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone