C# 클래스 System.IO.StreamWriter

상속: TextWriter
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Null StreamWriter

Private Properties

프로퍼티 타입 설명
CheckAsyncTaskInProgress void
Flush void
FlushAsyncInternal System.Threading.Tasks.Task
FlushAsyncInternal System.Threading.Tasks.Task
Init void
StreamWriter System.Text
WriteAsyncInternal System.Threading.Tasks.Task
WriteAsyncInternal System.Threading.Tasks.Task
WriteAsyncInternal System.Threading.Tasks.Task

공개 메소드들

메소드 설명
Close ( ) : void
Flush ( ) : void
FlushAsync ( ) : System.Threading.Tasks.Task
StreamWriter ( Stream stream ) : System.Text
StreamWriter ( Stream stream, Encoding encoding ) : System.Text
StreamWriter ( Stream stream, Encoding encoding, int bufferSize ) : System.Text
StreamWriter ( Stream stream, Encoding encoding, int bufferSize, bool leaveOpen ) : System.Text
StreamWriter ( string path ) : System.Text
StreamWriter ( string path, bool append ) : System.Text
StreamWriter ( string path, bool append, Encoding encoding ) : System.Text
StreamWriter ( string path, bool append, Encoding encoding, int bufferSize ) : System.Text
Write ( char value ) : void
Write ( char buffer, int index, int count ) : void
Write ( string value ) : void
WriteAsync ( char value ) : System.Threading.Tasks.Task
WriteAsync ( char buffer, int index, int count ) : System.Threading.Tasks.Task
WriteAsync ( string value ) : System.Threading.Tasks.Task
WriteLine ( string value ) : void
WriteLineAsync ( ) : System.Threading.Tasks.Task
WriteLineAsync ( char value ) : System.Threading.Tasks.Task
WriteLineAsync ( char buffer, int index, int count ) : System.Threading.Tasks.Task
WriteLineAsync ( string value ) : System.Threading.Tasks.Task

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
CheckAsyncTaskInProgress ( ) : void
Flush ( bool flushStream, bool flushEncoder ) : void
FlushAsyncInternal ( StreamWriter _this, bool flushStream, bool flushEncoder, char charBuffer, int charPos, bool haveWrittenPreamble, Encoding encoding, Encoder encoder, Byte byteBuffer, Stream stream ) : System.Threading.Tasks.Task
FlushAsyncInternal ( bool flushStream, bool flushEncoder, char sCharBuffer, int sCharPos ) : System.Threading.Tasks.Task
Init ( Stream streamArg, Encoding encodingArg, int bufferSize, bool shouldLeaveOpen ) : void
StreamWriter ( ) : System.Text
WriteAsyncInternal ( StreamWriter _this, char value, char charBuffer, int charPos, int charLen, char coreNewLine, bool autoFlush, bool appendNewLine ) : System.Threading.Tasks.Task
WriteAsyncInternal ( StreamWriter _this, char buffer, int index, int count, char charBuffer, int charPos, int charLen, char coreNewLine, bool autoFlush, bool appendNewLine ) : System.Threading.Tasks.Task
WriteAsyncInternal ( StreamWriter _this, string value, char charBuffer, int charPos, int charLen, char coreNewLine, bool autoFlush, bool appendNewLine ) : System.Threading.Tasks.Task

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

FlushAsync() 공개 메소드

public FlushAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

StreamWriter() 공개 메소드

public StreamWriter ( Stream stream ) : System.Text
stream Stream
리턴 System.Text

StreamWriter() 공개 메소드

public StreamWriter ( Stream stream, Encoding encoding ) : System.Text
stream Stream
encoding System.Text.Encoding
리턴 System.Text

StreamWriter() 공개 메소드

public StreamWriter ( Stream stream, Encoding encoding, int bufferSize ) : System.Text
stream Stream
encoding System.Text.Encoding
bufferSize int
리턴 System.Text

StreamWriter() 공개 메소드

public StreamWriter ( Stream stream, Encoding encoding, int bufferSize, bool leaveOpen ) : System.Text
stream Stream
encoding System.Text.Encoding
bufferSize int
leaveOpen bool
리턴 System.Text

StreamWriter() 공개 메소드

public StreamWriter ( string path ) : System.Text
path string
리턴 System.Text

StreamWriter() 공개 메소드

public StreamWriter ( string path, bool append ) : System.Text
path string
append bool
리턴 System.Text

StreamWriter() 공개 메소드

public StreamWriter ( string path, bool append, Encoding encoding ) : System.Text
path string
append bool
encoding System.Text.Encoding
리턴 System.Text

StreamWriter() 공개 메소드

public StreamWriter ( string path, bool append, Encoding encoding, int bufferSize ) : System.Text
path string
append bool
encoding System.Text.Encoding
bufferSize int
리턴 System.Text

Write() 공개 메소드

public Write ( char value ) : void
value char
리턴 void

Write() 공개 메소드

public Write ( char buffer, int index, int count ) : void
buffer char
index int
count int
리턴 void

Write() 공개 메소드

public Write ( string value ) : void
value string
리턴 void

WriteAsync() 공개 메소드

public WriteAsync ( char value ) : System.Threading.Tasks.Task
value char
리턴 System.Threading.Tasks.Task

WriteAsync() 공개 메소드

public WriteAsync ( char buffer, int index, int count ) : System.Threading.Tasks.Task
buffer char
index int
count int
리턴 System.Threading.Tasks.Task

WriteAsync() 공개 메소드

public WriteAsync ( string value ) : System.Threading.Tasks.Task
value string
리턴 System.Threading.Tasks.Task

WriteLine() 공개 메소드

public WriteLine ( string value ) : void
value string
리턴 void

WriteLineAsync() 공개 메소드

public WriteLineAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

WriteLineAsync() 공개 메소드

public WriteLineAsync ( char value ) : System.Threading.Tasks.Task
value char
리턴 System.Threading.Tasks.Task

WriteLineAsync() 공개 메소드

public WriteLineAsync ( char buffer, int index, int count ) : System.Threading.Tasks.Task
buffer char
index int
count int
리턴 System.Threading.Tasks.Task

WriteLineAsync() 공개 메소드

public WriteLineAsync ( string value ) : System.Threading.Tasks.Task
value string
리턴 System.Threading.Tasks.Task

프로퍼티 상세

Null 공개적으로 정적으로 프로퍼티

public static StreamWriter,System.IO Null
리턴 StreamWriter