Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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(
[out] LPWSTR *ppszInputString,
[out] ITokenCollection **ppTokens,
[out] LCID *plcid,
[out] IUnknown **ppWordBreaker
);
Parameters
[out] ppszInputString
Type: LPWSTR*
Receives the query string. This parameter can be NULL.
[out] ppTokens
Type: ITokenCollection**
Receives a pointer to an ITokenCollection object that describes how the query was tokenized. This parameter can be NULL.
[out] plcid
Type: LCID*
Receives a LCID for the word breaker used for this query. This parameter can be NULL.
[out] ppWordBreaker
Type: IUnknown**
Receives a pointer to the word breaker used for this query. This parameter can be NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
| Target Platform | Windows |
| Header | structuredquery.h |
| Redistributable | Windows Desktop Search (WDS) 3.0 |