Share via


Research.Query Method (PowerPoint)

Specifies a research query.

Syntax

expression .Query(ServiceID, QueryString, QueryLanguage, UseSelection, RequeryContextXML, NewQueryContextXML, LaunchQuery)

expression An expression that returns a Research object.

Parameters

Name

Required/Optional

Data Type

Description

ServiceID

Required

String

Specifies a GUID that identifies the research service.

QueryString

Optional

Variant

Specifies the query string.

QueryLanguage

Optional

Variant

Specifies the query language of the query string.

UseSelection

Optional

Boolean

True to use the current selection as the query string. This overrides the QueryString parameter if set. Default value is False.

RequeryContextXML

Optional

Variant

Requery context information. This allows the caller to add additional information that the service may need. This is an XML string that is placed directly under the RequeryContext element in the query.

NewQueryContextXML

Optional

Variant

New query context information. This allows the caller to add additional information that the service may need. This is an XML string that is placed directly under the NewQueryContext element in the query.

LaunchQuery

Optional

Boolean

True launches the query. False displays the the Research task pane scoped to search the specified research service.

See Also

Concepts

Research Object

Research Object Members