The DBColumn type exposes the following members.

Constructors

  NameDescription
Public methodDBColumn(String, OleDbType, Int32)
Creates a new instance of the DBColumn class. Scale and Precision are set to 0, so this overload is useful for string-type columns.
Public methodDBColumn(String, OleDbType, Int32, Int32, Int32)
Creates a new instance of the DBColumn class.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyDataType
The datatype of the column.
Public propertyName
The name of the column.
Public propertyPrecision
Numeric types only. The maximum number of digits.
Public propertyScale
Numeric types only. The maximum number of digits to the right of the decimal point.
Public propertySize
String and binary types only. The maximum number of characters/bytes.

See Also