Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Writes a string to the text string or stream.
Namespace: System.IO
Assembly: System.IO (in System.IO.dll)
Syntax
'Declaration
Public Overridable Sub Write ( _
value As String _
)
public virtual void Write(
string value
)
public:
virtual void Write(
String^ value
)
abstract Write :
value:string -> unit
override Write :
value:string -> unit
public function Write(
value : String
)
Parameters
- value
Type: System. . :: . .String
The string to write.
Remarks
This overload is equivalent to the Write(array<Char>[]()[][]) overload.
This method does not search the specified string for individual newline characters (hexadecimal 0x000a) and replace them with TextWriter..::..NewLine.
If value is null Nothing nullptr unit a null reference (Nothing in Visual Basic) , nothing is written to the text stream.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.