TextWriter.Null 필드

정의

쓸 수는 있지만 읽을 수는 없는 백업 저장소를 TextWriter에 제공하지 않습니다.

public: static initonly System::IO::TextWriter ^ Null;
public static readonly System.IO.TextWriter Null;
 staticval mutable Null : System.IO.TextWriter
Public Shared ReadOnly Null As TextWriter 

필드 값

설명

를 사용하여 Null 운영 체제 리소스를 사용하지 않는 스트림으로 출력을 리디렉션합니다.

에서 메서드를 TextWriter.Write 호출 Null하면 호출이 단순히 반환되고 실제로 어떤 백업 저장소에도 데이터가 기록되지 않습니다.

일반적인 I/O 작업 목록은 일반적인 I/O 작업을 참조하세요.

적용 대상

추가 정보