Share via


OrderColumnCollection.Item Property (String)

Gets an OrderColumn object by name.

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

Syntax

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

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

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.OrderColumn
An OrderColumn with the specified name.