Condividi tramite


Metodo OrderColumnCollection.Add (OrderColumn, Int32)

Adds a OrderColumn to the collection before the column object with the specified index position.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Add ( _
    orderColumn As OrderColumn, _
    insertAtPosition As Integer _
)
'Utilizzo
Dim instance As OrderColumnCollection 
Dim orderColumn As OrderColumn 
Dim insertAtPosition As Integer

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

Parametri

  • insertAtPosition
    Tipo: System.Int32
    The position at which to insert the column.

Vedere anche

Riferimento

OrderColumnCollection Classe

Overload Add

Spazio dei nomi Microsoft.SqlServer.Management.Smo