The DbfReader type exposes the following members.

Constructors

  NameDescription
DbfReader
DbfReader constructor

Methods

  NameDescription
Close
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
Dispose
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDistinctRecords
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
GetField
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,
GetFieldNames
Utility method to return the names of the fields in the DBF file Internally extracts the field names from the DBFRecordHeader
GetFields
Gets an array of strings representing the fields of Record[recordNumber] in the DBF file Throws ArgumentException if recordNumber ">=" NumberOfRecords or negative
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetRecords
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
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IndexOf
IndexOfFieldName
returns the field index of fieldName. If a field with name fieldName does not exist the method will return -1
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
DbfRecordHeader
Returns the DbfFileHeader representing the contents of the DBF file's main header

See Also