New Method

Creates a new column definition.

Syntax

Sub New(index, dataType, name, primaryKey)


Parameters


index

Type: Integer

The index of the column


dataType

Type: VSColumnDataType

The data type of the column


name

Type: String

The name of the column


primaryKey

Type: Boolean

Indicates whether or not this is (part of) the primary key



Return Value


Type: VSColumnDef

Examples

IronPython




C#



Remarks