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