ISearchQueryHelper::get_QueryContentProperties Method

Gets the list of properties to be used when search terms have no property explicitly specified.

Syntax

HRESULT get_QueryContentProperties(      
    LPWSTR *ppszContentProperties
);

Parameters

  • ppszContentProperties
    [out, retval] Returns a pointer to a comma-delimited, null-terminated, Unicode string of content properties to search. If ppszContentProperties is NULL then all properties are searched.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Search terms may or may not be explicitly prefixed by a property ("author:Irina" or just "Irina"). If SEARCH_ADVANCED_QUERY_SYNTAX or SEARCH_NO_QUERY_SYNTAX is set in ISearchQueryHelper::put_QuerySyntax, all search terms not prefixed by a property keyword are matched against the list of properties in ppszContentProperties.

See Also

ISearchQueryHelper::put_QueryContentProperties