ISearchQueryHelper::get_QueryKeywordLocale Method

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

Syntax

HRESULT get_QueryKeywordLocale(      
    LCID *plcid
);

Parameters

  • plcid
    [out, retval] Receives a pointer to 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::put_QueryKeywordLocale