Partager via


Query.GetQueryCompletions - Méthode

Espace de noms :  Microsoft.SharePoint.Client.Search.Query
Assembly :  Microsoft.SharePoint.Client.Search (dans Microsoft.SharePoint.Client.Search.dll)

Syntaxe

'Déclaration
Public Function GetQueryCompletions ( _
    numberOfCompletions As Integer, _
    selectedSources As String, _
    cursorPosition As Integer _
) As ClientResult(Of QueryAutoCompletionResults)
'Utilisation
Dim instance As Query
Dim numberOfCompletions As Integer
Dim selectedSources As String
Dim cursorPosition As Integer
Dim returnValue As ClientResult(Of QueryAutoCompletionResults)

returnValue = instance.GetQueryCompletions(numberOfCompletions, _
    selectedSources, cursorPosition)
public ClientResult<QueryAutoCompletionResults> GetQueryCompletions(
    int numberOfCompletions,
    string selectedSources,
    int cursorPosition
)

Paramètres

Valeur renvoyée

Type : Microsoft.SharePoint.Client.ClientResult<QueryAutoCompletionResults>

Voir aussi

Référence

Query classe

Query - Membres

Microsoft.SharePoint.Client.Search.Query - Espace de noms