C# Class System.IO.StringWriter

Inheritance: System.IO.TextWriter
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Close ( ) : void
FlushAsync ( ) : Task
GetStringBuilder ( ) : StringBuilder
StringWriter ( ) : System.Text
StringWriter ( IFormatProvider formatProvider ) : System.Text
StringWriter ( StringBuilder sb ) : System.Text
StringWriter ( StringBuilder sb, IFormatProvider formatProvider ) : System.Text
ToString ( ) : string
Write ( char value ) : void
Write ( char buffer, int index, int count ) : void
Write ( string value ) : void
WriteAsync ( char value ) : Task
WriteAsync ( char buffer, int index, int count ) : Task
WriteAsync ( string value ) : Task
WriteLineAsync ( char value ) : Task
WriteLineAsync ( char buffer, int index, int count ) : Task
WriteLineAsync ( string value ) : Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FlushAsync() public method

public FlushAsync ( ) : Task
return Task

GetStringBuilder() public method

public GetStringBuilder ( ) : StringBuilder
return StringBuilder

StringWriter() public method

public StringWriter ( ) : System.Text
return System.Text

StringWriter() public method

public StringWriter ( IFormatProvider formatProvider ) : System.Text
formatProvider IFormatProvider
return System.Text

StringWriter() public method

public StringWriter ( StringBuilder sb ) : System.Text
sb StringBuilder
return System.Text

StringWriter() public method

public StringWriter ( StringBuilder sb, IFormatProvider formatProvider ) : System.Text
sb StringBuilder
formatProvider IFormatProvider
return System.Text

ToString() public method

public ToString ( ) : string
return string

Write() public method

public Write ( char value ) : void
value char
return void

Write() public method

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

Write() public method

public Write ( string value ) : void
value string
return void

WriteAsync() public method

public WriteAsync ( char value ) : Task
value char
return Task

WriteAsync() public method

public WriteAsync ( char buffer, int index, int count ) : Task
buffer char
index int
count int
return Task

WriteAsync() public method

public WriteAsync ( string value ) : Task
value string
return Task

WriteLineAsync() public method

public WriteLineAsync ( char value ) : Task
value char
return Task

WriteLineAsync() public method

public WriteLineAsync ( char buffer, int index, int count ) : Task
buffer char
index int
count int
return Task

WriteLineAsync() public method

public WriteLineAsync ( string value ) : Task
value string
return Task