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
- numberOfCompletions
Type : System.Int32
- selectedSources
Type : System.String
- cursorPosition
Type : System.Int32
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<QueryAutoCompletionResults>