Skip to content

TabDbfColumn

Namespace: ThinkGeo.Core

public class TabDbfColumn : DbfColumn

Inheritance ObjectFeatureSourceColumnDbfColumnTabDbfColumn

Properties

BuildIndex

This property returns the index of the column in the DBF.

public bool BuildIndex { get; set; }

Property Value

Boolean

UniqueIndexColumnValues

This property returns the value of the column in the DBF is unique or not.

public bool UniqueIndexColumnValues { get; set; }

Property Value

Boolean

ColumnType

This property returns the type of the column in the DBF.

public DbfColumnType ColumnType { get; set; }

Property Value

DbfColumnType

Remarks:

None

Length

This property returns the length of the column in the DBF.

public int Length { get; set; }

Property Value

Int32

Remarks:

None

DecimalLength

This property returns the decimal length of the column in the DBF.

public int DecimalLength { get; set; }

Property Value

Int32

Remarks:

This is the number of decimal places the number represents. This is only applicable if the column type is numeric.

ColumnName

This property returns the name of the column.

public string ColumnName { get; set; }

Property Value

String

Remarks:

None

TypeName

This property returns the type name of the column.

public string TypeName { get; set; }

Property Value

String

Remarks:

This property is freeform and the type name is not tied to anything. It is wise to try and use familiar type names such as string, integer, date, etc., although it may not fit every different type of FeatureSource. We suggest thar you avoid using this property unless you know the types beforehand or simply want them for display purposes.

MaxLength

This property returns the maximum length of the column.

public int MaxLength { get; set; }

Property Value

Int32

Remarks:

The maximum length is user defined and not in any way enforced in our default FeatureSource implementation. It is mainly for display purposes or when dealing with a known Feature Source type.

Constructors

TabDbfColumn()

This method is the constructor for the DbfColumn.

public TabDbfColumn()

Remarks:

None

TabDbfColumn(String, DbfColumnType, Int32, Int32, Boolean, Boolean)

This method is the constructor for the DbfColumn.

public TabDbfColumn(string columnName, DbfColumnType columnType, int length, int decimalLength, bool buildIndex, bool uniqueIndexColumnValues)

Parameters

columnName String
This parameter represents the name of the column in the DBF.

columnType DbfColumnType
This parameter represents the type of the column in the DBF.

length Int32
This parameter represents the length of the column in the DBF.

decimalLength Int32

        This parameter represents the number of decimal places the column has, if it is a
        numeric type.

buildIndex Boolean

uniqueIndexColumnValues Boolean

Remarks:

None