共用方式為


Add 方法 (Column, Int32)

Adds a Column object to the ColumnCollection collection at a specified position.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    column As Column, _
    insertAtPosition As Integer _
)
'用途
Dim instance As ColumnCollection
Dim column As Column
Dim insertAtPosition As Integer

instance.Add(column, insertAtPosition)
public void Add(
    Column column,
    int insertAtPosition
)
public:
void Add(
    Column^ column, 
    int insertAtPosition
)
member Add : 
        column:Column * 
        insertAtPosition:int -> unit 
public function Add(
    column : Column, 
    insertAtPosition : int
)

參數

範例

使用集合