Click or drag to resize
FixedWidthWriter Class
A stream based writer for writing fixed width text data to a file or a stream.
Inheritance Hierarchy

Namespace: DataStreams.FixedWidth
Assembly: DataStreams (in DataStreams.dll) Version: 5.20.0.0
Syntax
public sealed class FixedWidthWriter : WriterBase

The FixedWidthWriter type exposes the following members.

Constructors
  NameDescription
Public methodFixedWidthWriter(TextWriter)
Creates a FixedWidthWriter object using a TextWriter to write data to.
Public methodFixedWidthWriter(String)
Creates a FixedWidthWriter object using a file to write data to. Uses a comma as the delimiter and Encoding.Default as the encoding.
Public methodFixedWidthWriter(Stream, Encoding)
Creates a FixedWidthWriter object using a Stream to write data to.
Public methodFixedWidthWriter(String, Encoding)
Creates a FixedWidthWriter object using a file to write data to.
Top
Methods
  NameDescription
Public methodClose
Closes and releases all related resources.
(Inherited from WriterBase.)
Public methodEndRecord
Ends the current record by sending the record delimiter.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFlush
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
(Inherited from WriterBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Writes another column of data to this record.
Public methodWriteAll
Writes all data from the DataTable.
Public methodWriteRecord
Writes a new record using the passed in array of values.
Top
Properties
  NameDescription
Public propertyColumns
Public propertySettings
Has all the options that are able to be set that will affect the way records are written.
Top
See Also