共用方式為


AddImpl 方法

Adds an object or member to this collection at the specified index.

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

語法

'宣告
Protected Sub AddImpl ( _
    obj As SqlSmoObject, _
    insertAtPosition As Integer _
)
'用途
Dim obj As SqlSmoObject
Dim insertAtPosition As Integer

Me.AddImpl(obj, insertAtPosition)
protected void AddImpl(
    SqlSmoObject obj,
    int insertAtPosition
)
protected:
void AddImpl(
    SqlSmoObject^ obj, 
    int insertAtPosition
)
member AddImpl : 
        obj:SqlSmoObject * 
        insertAtPosition:int -> unit 
protected function AddImpl(
    obj : SqlSmoObject, 
    insertAtPosition : int
)

參數

  • insertAtPosition
    型別:System. . :: . .Int32
    An Int32 value that specifies the index position in the collection at which to insert the specified object.