The DbfReader type exposes the following members.

Constructors

  NameDescription
Public methodDbfReader
DbfReader constructor

Methods

  NameDescription
Public methodClose
Closes the DbfReader. This method will close internal resources and should be called when you have finshed using the DbfReader. After this method has been called any attempt to read a field or record data from the DbfReader will throw an Exception
Public methodDispose
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDistinctRecords
Gets an array of strings representing the distinct record contents for a specified field. Each string in the returned array is trimmed to remove trailing spaces
Public methodGetField
returns a string representing the field[fieldIndex] of the Record[recordNumber] in the dbf file Throws ArgumentException if recordNumber ">=" NumberOfRecords or negative, fieldIndex >= FieldCount or negative,
Public methodGetFieldNames
Utility method to return the names of the fields in the DBF file Internally extracts the field names from the DBFRecordHeader
Public methodGetFields
Gets an array of strings representing the fields of Record[recordNumber] in the DBF file Throws ArgumentException if recordNumber ">=" NumberOfRecords or negative
Public methodGetHashCode (Inherited from Object.)
Public methodGetRecords
Gets an array of strings representing all of the record contents for a specified field. Each string in the returned array is trimmed to remove trailing spaces
Public methodGetType (Inherited from Object.)
Public methodIndexOf Obsolete.
Public methodIndexOfFieldName
returns the field index of fieldName. If a field with name fieldName does not exist the method will return -1
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyDbfRecordHeader
Returns the DbfFileHeader representing the contents of the DBF file's main header
Public propertyStringEncoding
Get/Sets the Encoding used to read string fields

See Also