DelphiBasics
  Home  |  Delphi .net Home  |  System.IO NameSpace
 .NET Framework
 Namespace References

 System
 System.Collections
 System.Globalization
 System.IO
 
  BinaryReader  Class 
  BinaryWriter  Class 
  BufferedStream  Class 
  Directory  Class 
  DirectoryInfo  Class 
  File  Class 
  FileAccess  Enumeration 
  FileAttributes  Enumeration 
  FileInfo  Class 
  FileMode  Enumeration 
  FileShare  Enumeration 
  FileStream  Class 
  FileSystemWatcher  Class 
  MemoryStream  Class 
  Path  Class 
  SeekOrigin  Enumeration 
  StreamReader  Class 
  StreamWriter  Class 
  StringReader  Class 
  StringWriter  Class 

 Articles and Tutorials

 Overview of .NET
 Delphi and .NET
 Winform Applications
 ASP .Net Applications
 ASP Web Services
 Framework Collections
 Framework String Handling
 Framework Files and Folders

 Author links

 Buy Website Traffic at
 Buywebsitetrafficexperts.com

 Buy Proxies at
 Buyproxies.io
 

 
 
  System.IO.StringWriter Class
 
 Description
Calling writeTextBlock The StringWriter class is descended from the abstract TextWriter class. It allows a string to be written to character by character, or line by line in much the same way as if the string were a text file. After writeTextBlock
 Syntax
Constructor Create ;
Constructor Create ( FormatProvider : IFormatProvider );
Constructor Create ( Builder : System.Text.StringBuilder );
Constructor Create ( Builder : StringBuilder; FormatProvider : IFormatProvider );
 Methods
Close  Closes the StringWriter
ToString  Returns the current value of the StringWriter internal string
Write  Adds a character or characters to the current string without line termination
WriteLine  Adds a line of text with carriage return/line-feed to the current string

 Properties
Encoding  System.Text.Encoding  The encoding in which the output is built

 Microsoft MSDN links
 
System.IO
System.IO.StringWriter
 
Delphi Programming Neil Moffatt 2002 - 2016. All rights reserved.  |  Home Page