Partager via


Research.Query Method

Specifies a research query.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub Query ( _
    ServiceID As String, _
    ByRef QueryString As Object, _
    ByRef QueryLanguage As Object, _
    UseSelection As Boolean, _
    LaunchQuery As Boolean _
)
'Usage
Dim instance As Research
Dim ServiceID As String
Dim QueryString As Object
Dim QueryLanguage As Object
Dim UseSelection As Boolean
Dim LaunchQuery As Boolean

instance.Query(ServiceID, QueryString, _
    QueryLanguage, UseSelection, LaunchQuery)
void Query(
    string ServiceID,
    ref Object QueryString,
    ref Object QueryLanguage,
    bool UseSelection,
    bool LaunchQuery
)

Parameters

  • ServiceID
    Type: System.String
    Specifies a GUID that identifies the research service.
  • QueryLanguage
    Type: System.Object
    Specifies the query language of the query string.
  • UseSelection
    Type: System.Boolean
    true to use the current selection as the query string. This overrides the QueryString parameter if set. Default value is false.
  • LaunchQuery
    Type: System.Boolean
    true launches the query. false displays the Research task pane scoped to search the specified research service.

See Also

Reference

Research Interface

Research Members

Microsoft.Office.Interop.PowerPoint Namespace