The DbfReader type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| 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 | (Inherited from Object.) | |
| Finalize | (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 | (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 | (Inherited from Object.) | |
| IndexOf | Obsolete. | |
| IndexOfFieldName |
returns the field index of fieldName.
If a field with name fieldName does not exist the method will return -1
| |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Object.) |