共用方式為


Research.Query Method

Word Developer Reference

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 String Specifies the query string.
QueryLanguage Optional WdLanguageID 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.
LaunchQuery Optional Boolean True launches the query. False displays the Research task pane scoped to search the specified research service.

Return Value
Variant

See Also