Click or drag to resize
Column Properties

The FixedWidthDataReaderColumn type exposes the following members.

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