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
- numberOfCompletions
Type: System.Int32
- selectedSources
Type: System.String
- cursorPosition
Type: System.Int32
Return value
Type: Microsoft.SharePoint.Client.ClientResult<QueryAutoCompletionResults>