IResultsViewer::QueryText Property

Gets or sets the current query text.

Syntax

HRESULT IResultsViewer::get_QueryText(BSTR *query);
HRESULT IResultsViewer::put_QueryText(BSTR query);

Parameters

  • query
    Pointer to a variable of type BSTR that receives the query text.
  • query
    BSTR that specifies the query text.

Return Value

Returns S_OK if successful, or an error value otherwise.