KeywordQuery constructor (ClientRuntimeContext, ObjectPath)
Namespace: Microsoft.SharePoint.Client.Search.Query
Assembly: Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)
Syntax
'Declaration
Public Sub New ( _
context As ClientRuntimeContext, _
objectPath As ObjectPath _
)
'Usage
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath
Dim instance As New KeywordQuery(context, _
objectPath)
public KeywordQuery(
ClientRuntimeContext context,
ObjectPath objectPath
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe service application context.
- objectPath
Type: Microsoft.SharePoint.Client.ObjectPath