Click or drag to resize
FixedWidthDataReaderColumn Class
Represents a data column in the data source to use during import.
Inheritance Hierarchy
SystemObject
  DataStreams.CommonDataReaderBaseDataReaderColumn
    DataStreams.FixedWidthFixedWidthDataReaderColumn

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

The FixedWidthDataReaderColumn type exposes the following members.

Constructors
  NameDescription
Public methodFixedWidthDataReaderColumn
Initializes a new instance of the FixedWidthDataReaderColumn class using the name of the data type to use for this column.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
Top
Properties
  NameDescription
Public propertyAlignment
The justification of text in the column. If the text is left justified, then padding will be applied to the right side of the text to meet the column's defined width.
Public propertyDefaultValue
The value to use for the column when no value is present. Default is Value.
(Inherited from DataReaderBaseDataReaderColumn.)
Public propertyFormat
The format string to use for parsing irregular date column values. Must exactly match the column's value in the data source using the FormatProvider's formatting symbols.
(Inherited from DataReaderBaseDataReaderColumn.)
Public propertyFormatProvider
The IFormatProvider to use while attempting to parse values for this column. Contains culture specific settings for date and numeric values.
(Inherited from DataReaderBaseDataReaderColumn.)
Public propertyMinLength
When trimming off extra padding characters, the minimum length to return for this column. If the padding character is a zero, the minimum length might need to be set to 1.
Public propertyPaddingChar
The character to use for padding a column's text to meet the defined column length. Spaces or zeros are the most common. Default is space.
Public propertyTrimPadding
Determines if padding characters should be removed from the text value of the column while parsing. Default is true.
Top
See Also