User Tools

Site Tools


thinkgeo.mapsuite.portablecore.geodbf

ThinkGeo.MapSuite.Core.GeoDbf

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

Class GeoDbf.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.GeoDbf

Members Summary

Public Constructors

GeoDbf()

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters

GeoDbf(String)

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters
  • pathFileName
    • Type:String
    • Description:Name of the path file.

GeoDbf(String,DbfReadWriteMode)

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters
  • pathFileName
    • Type:String
    • Description:Name of the path file.

GeoDbf(String,DbfReadWriteMode,Encoding)

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters
  • pathFileName
    • Type:String
    • Description:Name of the path file.
  • encoding
    • Type:Encoding
    • Description:The encoding.

GeoDbf(String,DbfReadWriteMode,Encoding,CultureInfo)

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters
  • pathFileName
    • Type:String
    • Description:Name of the path file.
  • encoding
    • Type:Encoding
    • Description:The encoding.
  • cultureInfo
    • Type:CultureInfo
    • Description:The culture information.

Protected Constructors

Public Methods

Dispose()

  • Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetColumn(String)

  • Gets the column.
Remarks
  • N/A
Return Value
Parameters
  • columnName
    • Type:String
    • Description:Name of the column.

GetColumn(Int32)

  • Gets the column.
Remarks
  • N/A
Return Value
Parameters
  • columnNumber
    • Type:Int32
    • Description:The column number.

ReadRecord(Int32)

  • Reads the record.
Remarks
  • N/A
Return Value
  • Type:Dictionary<String,Object>
  • Description:Dictionary<System.String, System.Object>.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.

ReadFieldAsBoolean(Int32,Int32)

  • Reads the field as boolean.
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:Boolean.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.

ReadFieldAsBoolean(Int32,String)

  • Reads the field as boolean.
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:Boolean.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.

ReadFieldAsDateTime(Int32,String)

  • Reads the field as date time.
Remarks
  • N/A
Return Value
  • Type:DateTime
  • Description:DateTime.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.

ReadFieldAsDateTime(Int32,Int32)

  • Reads the field as date time.
Remarks
  • N/A
Return Value
  • Type:DateTime
  • Description:DateTime.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.

ReadFieldAsDouble(Int32,String)

  • Reads the field as double.
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:Double.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.

ReadFieldAsDouble(Int32,Int32)

  • Reads the field as double.
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:Double.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.

ReadFieldAsInteger(Int32,Int32)

  • Reads the field as integer.
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:System.Int32.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.

ReadFieldAsInteger(Int32,String)

  • Reads the field as integer.
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:System.Int32.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.

ReadFieldAsString(Int32,String)

  • Reads the field as string.
Remarks
  • N/A
Return Value
  • Type:String
  • Description:System.String.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.

ReadFieldAsString(Int32,Int32)

  • Reads the field as string.
Remarks
  • N/A
Return Value
  • Type:String
  • Description:System.String.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.

WriteField(Int32,String,Double)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.
  • value
    • Type:Double
    • Description:The value.

WriteField(Int32,Int32,Int32)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.
  • value
    • Type:Int32
    • Description:The value.

WriteField(Int32,String,Boolean)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.
  • value
    • Type:Boolean
    • Description:The value.

WriteField(Int32,Int32,Double)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.
  • value
    • Type:Double
    • Description:The value.

WriteField(Int32,String,Int32)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.
  • value
    • Type:Int32
    • Description:The value.

WriteField(Int32,Int32,String)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.
  • value
    • Type:String
    • Description:The value.

WriteField(Int32,String,String)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.
  • value
    • Type:String
    • Description:The value.

WriteField(Int32,Int32,Boolean)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.
  • value
    • Type:Boolean
    • Description:The value.

WriteField(Int32,Int32,DateTime)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnNumber
    • Type:Int32
    • Description:The column number.
  • value
    • Type:DateTime
    • Description:The value.

WriteField(Int32,String,DateTime)

  • Writes the field.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • columnName
    • Type:String
    • Description:Name of the column.
  • value
    • Type:DateTime
    • Description:The value.

Open()

  • Opens this instance.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

  • Closes this instance.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Flush()

  • Flushes this instance.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Pack()

  • Packs this instance.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetColumnNumber(String)

  • Gets the column number.
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:System.Int32.
Parameters
  • columnName
    • Type:String
    • Description:Name of the column.

GetColumnName(Int32)

  • Gets the name of the column.
Remarks
  • N/A
Return Value
  • Type:String
  • Description:System.String.
Parameters
  • columnNumber
    • Type:Int32
    • Description:The column number.

DeleteRecord(Int32)

  • Deletes the record.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.

UpdateColumnName(Int32,String)

  • Updates the name of the column.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnNumber
    • Type:Int32
    • Description:The column number.
  • newColumnName
    • Type:String
    • Description:New name of the column.

UndeleteRecord(Int32)

  • Undeletes the record.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.

IsRecordDeleted(Int32)

  • Determines whether [is record deleted] [the specified record number].
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:true if [is record deleted] [the specified record number]; otherwise, false.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.

AddEmptyRecord()

  • Adds the empty record.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

ReadRecordAsString(Int32)

  • Reads the record as string.
Remarks
  • N/A
Return Value
  • Type:Dictionary<String,String>
  • Description:Dictionary<System.String, System.String>.
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.

WriteRecord(Int32,IEnumerable<Object>)

  • Writes the record.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:The record number.
  • values
    • Type:IEnumerable<Object>
    • Description:The values.

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

GetValidColumns(IEnumerable<DbfColumn>)

  • Gets the valid columns.
Remarks
  • N/A
Return Value
  • Type:Collection<DbfColumn>
  • Description:Collection<DbfColumn>.
Parameters
  • columns
    • Type:IEnumerable<DbfColumn>
    • Description:The columns.

GetValidColumns(IEnumerable<DbfColumn>,Encoding)

  • Gets the valid columns.
Remarks
  • N/A
Return Value
  • Type:Collection<DbfColumn>
  • Description:Collection<DbfColumn>.
Parameters
  • columns
    • Type:IEnumerable<DbfColumn>
    • Description:The columns.
  • encoding
    • Type:Encoding
    • Description:The encoding.

GetValidColumnNames(IEnumerable<String>)

  • Gets the valid column names.
Remarks
  • N/A
Return Value
  • Type:Collection<String>
  • Description:Collection<System.String>.
Parameters
  • columnNames
    • Type:IEnumerable<String>
    • Description:The column names.

GetValidColumnNames(IEnumerable<String>,Encoding)

  • Gets the valid column names.
Remarks
  • N/A
Return Value
  • Type:Collection<String>
  • Description:Collection<System.String>.
Parameters
  • columnNames
    • Type:IEnumerable<String>
    • Description:The column names.
  • encoding
    • Type:Encoding
    • Description:The encoding.

CopyDbfHeader(String,String)

  • Copies the DBF header.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • sourcePathFileName
    • Type:String
    • Description:Name of the source path file.
  • destinationPathFileName
    • Type:String
    • Description:Name of the destination path file.

CopyDbfHeader(String,String,OverwriteMode)

  • Copies the DBF header.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • sourcePathFileName
    • Type:String
    • Description:Name of the source path file.
  • destinationPathFileName
    • Type:String
    • Description:Name of the destination path file.
  • overwriteMode

CreateDbfFile(String,IEnumerable<DbfColumn>)

  • Creates the DBF file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dbfPathFileName
    • Type:String
    • Description:Name of the DBF path file.
  • dbfColumns
    • Type:IEnumerable<DbfColumn>
    • Description:The DBF columns.

CreateDbfFile(String,IEnumerable<DbfColumn>,OverwriteMode)

  • Creates the DBF file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dbfPathFileName
    • Type:String
    • Description:Name of the DBF path file.
  • dbfColumns
    • Type:IEnumerable<DbfColumn>
    • Description:The DBF columns.
  • overwriteMode

CreateDbfFile(String,IEnumerable<DbfColumn>,OverwriteMode,Encoding)

  • Creates the DBF file.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dbfPathFileName
    • Type:String
    • Description:Name of the DBF path file.
  • dbfColumns
    • Type:IEnumerable<DbfColumn>
    • Description:The DBF columns.
  • overwriteMode
  • encoding
    • Type:Encoding
    • Description:The encoding.

Protected Methods

Open(GeoFileMode,GeoFileAccess)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

AddStringField(String,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A
  • length
    • Type:Int32
    • Description:N/A

AddIntField(String,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A
  • length
    • Type:Int32
    • Description:N/A

AddDoubleColumn(String,Int32,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A
  • length
    • Type:Int32
    • Description:N/A
  • decimalLength
    • Type:Int32
    • Description:N/A

AddBoolColumn(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A

AddMemoField(String,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A
  • length
    • Type:Int32
    • Description:N/A

AddDateField(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A

AddDateTimeField(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • columnName
    • Type:String
    • Description:N/A

ChangeDBCFileName(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • newDBCFileNmae
    • Type:String
    • Description:N/A

OnStreamLoading(StreamLoadingEventArgs)

  • Handles the event.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

IsOpen

  • Gets a value indicating whether this instance is open.
Remarks
  • N/A
Return Value
  • Type:Boolean

ColumnCount

  • Gets the column count.
Remarks
  • N/A
Return Value
  • Type:Int32

RecordCount

  • Gets the record count.
Remarks
  • N/A
Return Value
  • Type:Int32

PathFileName

  • Gets or sets the name of the path file.
Remarks
  • N/A
Return Value
  • Type:String

ReadWriteMode

  • Gets or sets the read write mode.
Remarks
  • N/A
Return Value

Encoding

  • Gets or sets the encoding.
Remarks
  • N/A
Return Value
  • Type:Encoding

CultureInfo

  • Gets or sets the culture information.
Remarks
  • N/A
Return Value
  • Type:CultureInfo

Protected Properties

Public Events

StreamLoading

  • Occurs when [stream loading].
Remarks
  • N/A

Event Arguments:StreamLoadingEventArgs

thinkgeo.mapsuite.portablecore.geodbf.txt · Last modified: 2017/03/16 21:59 (external edit)