OrderColumnCollection.Item Property (Int32)

Gets an OrderColumn object at the specified index.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As OrderColumn
    Get
'Usage
Dim instance As OrderColumnCollection
Dim index As Integer
Dim value As OrderColumn

value = instance(index)
public OrderColumn this[
    int index
] { get; }
public:
property OrderColumn^ default[int index] {
    OrderColumn^ get (int index);
}
member Item : OrderColumn
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    Type: System.Int32
    A number representing the index of the object.

Property Value

Type: Microsoft.SqlServer.Management.Smo.OrderColumn
An OrderColumn which corresponds to the specified index.