System.IO.StreamWriter
E697501
System.IO.StreamWriter is a .NET class used to write characters to streams such as files, memory, or network resources with support for encoding and buffering.
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
text writer ⓘ |
| assembly |
System.IO
NERFINISHED
ⓘ
System.Runtime NERFINISHED ⓘ mscorlib NERFINISHED ⓘ |
| autoFlushEffect | when AutoFlush is true, data is flushed to the underlying stream after every write ⓘ |
| baseClass | System.IO.TextWriter NERFINISHED ⓘ |
| bufferingBehavior | writes are buffered by default ⓘ |
| category | I/O ⓘ |
| defaultEncoding | UTF-8 ⓘ |
| documentation | https://learn.microsoft.com/dotnet/api/system.io.streamwriter ⓘ |
| encodingSelection | encoding can be specified via constructor ⓘ |
| hasConstructor |
StreamWriter(System.IO.Stream)
ⓘ
StreamWriter(System.IO.Stream,System.Text.Encoding) ⓘ StreamWriter(System.String) NERFINISHED ⓘ StreamWriter(System.String,System.Boolean) NERFINISHED ⓘ StreamWriter(System.String,System.Boolean,System.Text.Encoding) NERFINISHED ⓘ StreamWriter(System.String,System.Boolean,System.Text.Encoding,System.Int32) ⓘ |
| hasMethod |
Close()
ⓘ
Dispose() ⓘ Flush() ⓘ Write(System.Char) ⓘ Write(System.String) ⓘ WriteLine() ⓘ WriteLine(System.String) ⓘ |
| hasProperty |
AutoFlush
ⓘ
BaseStream ⓘ Encoding ⓘ NewLine ⓘ |
| implements | System.IDisposable NERFINISHED ⓘ |
| inheritsFrom | System.IO.TextWriter NERFINISHED ⓘ |
| introducedIn | .NET Framework 1.0 NERFINISHED ⓘ |
| isDisposable | true ⓘ |
| isPublic | true ⓘ |
| isSealed | true ⓘ |
| namespace | System.IO NERFINISHED ⓘ |
| platform |
.NET 5+
NERFINISHED
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| purpose | write characters to a stream ⓘ |
| relatedTo |
System.IO.File
NERFINISHED
ⓘ
System.IO.StreamReader NERFINISHED ⓘ |
| supports |
buffering
ⓘ
file output ⓘ memory streams ⓘ network streams ⓘ text encoding ⓘ |
| threadSafety | instance members are not guaranteed to be thread-safe ⓘ |
| usagePattern | commonly used with using statement for deterministic disposal ⓘ |
| writes | sequential text data ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.