Modifica

Condividi tramite


Research.Query(String, String, WdLanguageID, Boolean, Boolean) Method

Definition

Specifies a research query.

public object Query (string ServiceID, string QueryString = "", Microsoft.Office.Interop.Word.WdLanguageID QueryLanguage = Microsoft.Office.Interop.Word.WdLanguageID.wdLanguageNone, bool UseSelection = false, bool LaunchQuery = false);
abstract member Query : string * string * Microsoft.Office.Interop.Word.WdLanguageID * bool * bool -> obj
Public Function Query (ServiceID As String, Optional QueryString As String = "", Optional QueryLanguage As WdLanguageID = Microsoft.Office.Interop.Word.WdLanguageID.wdLanguageNone, Optional UseSelection As Boolean = false, Optional LaunchQuery As Boolean = false) As Object

Parameters

ServiceID
String

Specifies a GUID that identifies the research service.

QueryString
String

Specifies the query string.

QueryLanguage
WdLanguageID

Specifies the query language of the query string.

UseSelection
Boolean

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

LaunchQuery
Boolean

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

Returns

Object

Applies to