IQuerySolution::GetLexicalData Method
Reports the query string, how it was tokenized, and what language code identifier (LCID) and word breaker were used to parse it.
Syntax
HRESULT GetLexicalData( LPWSTR *ppwszInputString, ITokenCollection **ppTokens, LCID *pLocale, IUnknown **ppWordBreaker );
Parameters
- ppwszInputString
[out] Receives the query string. This parameter can be NULL.- ppTokens
[out] Receives a pointer to an ITokenCollection object that describes how the query was tokenized. This parameter can be NULL.- pLocale
[out] Receives a LCID for the word breaker used for this query. This parameter can be NULL.- ppWordBreaker
[out] Receives a pointer to the word breaker used for this query. This parameter can be NULL.
Return Value
Returns S_OK if successful, or an error value otherwise.