TextWriter.Write Method (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes a string to the text stream.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
Public Overridable Sub Write ( _
value As String _
)
public virtual void Write(
string value
)
Parameters
- value
Type: System..::.String
The string to write.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The TextWriter is closed. |
IOException | An I/O error occurs. |
Remarks
This version of Write is equivalent to Write.
This method does not search the specified String for individual newline characters (hexadecimal 0x000a) and replace them with NewLine.
If value is nullNothingnullptra null reference (Nothing in Visual Basic), nothing is written to the text stream.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone