Freigeben über


SortCollection.Add-Methode

Eine neue Sort -Struktur und der Auflistung hinzugefügt.

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

Syntax

'Declaration
Public Sub Add ( _
    strProperty As String, _
    direction As SortDirection _
)
'Usage
Dim instance As SortCollection
Dim strProperty As String
Dim direction As SortDirection

instance.Add(strProperty, direction)
public void Add(
    string strProperty,
    SortDirection direction
)

Parameter

  • strProperty
    Typ: System.String

    Eine Zeichenfolge, die den Namen der Eigenschaft, Ergebnisse von sortiert.

Siehe auch

Referenz

SortCollection Klasse

SortCollection-Member

Microsoft.Office.Server.Search.Query-Namespace