'Declaration
Overloads Function AddColumn( _ ByVal name As System.String, _ ByVal type As VistaDBType, _ ByVal maxLen As System.Integer, _ ByVal codePage As System.Integer _ ) As IVistaDBColumnAttributes
'Usage
Dim instance As IVistaDBTableSchema Dim name As System.String Dim type As VistaDBType Dim maxLen As System.Integer Dim codePage As System.Integer Dim value As IVistaDBColumnAttributes value = instance.AddColumn(name, type, maxLen, codePage)
IVistaDBColumnAttributes AddColumn( System.string name, VistaDBType type, System.int maxLen, System.int codePage )
Parameters
- name
- Column's name
- type
- VistaDBType column's type
- maxLen
- Maximum length of character type column. This value doesn't matter for Text, NText and Image columns
- codePage
- Code page to keep column's value of type Char, VarChar, Text being encoded in the file
Return Value
0-based column's index