Share via


Query.GetQueryCompletions method

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)

Syntax

'Declaration
Public Function GetQueryCompletions ( _
    numberOfCompletions As Integer, _
    selectedSources As String, _
    cursorPosition As Integer _
) As ClientResult(Of QueryAutoCompletionResults)
'Usage
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
)

Parameters

Return value

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

See also

Reference

Query class

Query members

Microsoft.SharePoint.Client.Search.Query namespace