ISearchQueryHelper::put_QueryKeywordLocale Method

Sets the language code identifier (LCID) for the locale to use when parsing Advanced Query Syntax (AQS) keywords.

Syntax

HRESULT put_QueryKeywordLocale(      
    LCID lcid
);

Parameters

  • lcid
    [in] Sets the LCID for the locale to use when parsing Advanced Query Syntax (AQS) keywords.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The DSearch code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to create a class for a static console application to query Windows Search using the Microsoft.Search.Interop assembly for ISearchQueryHelper.

See Also

ISearchQueryHelper::get_QueryKeywordLocale