SortCollection.Add, méthode (Microsoft.Office.Server.Search.Query)
Adds a new Sort structure to the collection.
Espace de noms : Microsoft.Office.Server.Search.Query
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
strProperty As String, _
direction As SortDirection _
)
'Utilisation
Dim instance As SortCollection
Dim strProperty As String
Dim direction As SortDirection
instance.Add(strProperty, direction)
public void Add (
string strProperty,
SortDirection direction
)
Paramètres
- strProperty
A string specifying the name of the property to sort the results by.
- direction
A value from the SortDirection enumeration.
Voir aussi
Référence
SortCollection, classe
Membres SortCollection
Microsoft.Office.Server.Search.Query, espace de noms