IQueryParser::SetMultiOption Method
Sets a complex option, such as a specified condition generator, to use when parsing an input string.
Syntax
HRESULT SetMultiOption( STRUCTURED_QUERY_MULTIOPTION option, LPCWSTR pszOptionKey, PROPVARIANT *pOptionValue );
Parameters
- option
[in] The complex option to be set.- pszOptionKey
[in] A Unicode string that is interpreted differently for each value of the option parameter. For more information, see STRUCTURED_QUERY_MULTIOPTION.- pOptionValue
[in] Pointer to a PROPVARIANT that is interpreted differently for each value of the option parameter. For more information, see STRUCTURED_QUERY_MULTIOPTION.
Return Value
Returns S_OK if successful, or an error value otherwise.