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 will be used to a great extent. If not, default keywords will be 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] Returns the restated query string. The caller must free the returned string using CoTaskMemFree.

Return Value

Returns S_OK if successful, or an error value otherwise.