IQueryParser::RestateToString Method

Restates a condition as a structured query string. If the condition was the result of parsing an original query string, the keywords of that query string are used to a great extent. If not, default keywords are used.

Syntax

HRESULT RestateToString(      
    ICondition *pCondition,
    BOOL fUseEnglish,
    LPWSTR *ppszQueryString
);

Parameters

  • pCondition
    [in] The condition to be restated.
  • fUseEnglish
    [in] Reserved. Must be FALSE.
  • ppszQueryString
    [out] Receives the restated query string. The caller must free the string by calling CoTaskMemFree.

Return Value

Returns S_OK if successful, or an error value otherwise.