Stream.Null 필드
정의
백업 저장소가 없는 Stream
입니다.A Stream
with no backing store.
public: static initonly System::IO::Stream ^ Null;
public static readonly System.IO.Stream Null;
staticval mutable Null : System.IO.Stream
Public Shared ReadOnly Null As Stream
필드 값
설명
Null
를 사용 하 여 운영 체제 리소스를 사용 하지 않을 스트림으로 출력을 리디렉션합니다.Use Null
to redirect output to a stream that will not consume any operating system resources. Stream
쓰기를 제공 하는의 메서드가에 대해 호출 되 면 Null
호출은 반환 되 고 데이터는 쓰여지지 않습니다.When the methods of Stream
that provide writing are invoked on Null
, the call simply returns, and no data is written. Null
또한는 Read
데이터를 읽지 않고 0을 반환 하는 메서드를 구현 합니다.Null
also implements a Read
method that returns zero without reading data.