Share via


SortCollection.Item property

Gets the specified Sort structure from the collection.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

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

value = instance(index)
public Sort this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index position of the specified Sort structure.

Property value

Type: Microsoft.Office.Server.Search.Query.Sort

See also

Reference

SortCollection class

SortCollection members

Microsoft.Office.Server.Search.Query namespace