共用方式為


IWordSink::EndAltPhrase method

[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]

Indicates the end of the final phrase in a sequence of alternative phrases that a word breaker generates during index time.

Syntax

HRESULT EndAltPhrase();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

Return code Description
WBREAK_E_QUERY_ONLY

EndAltPhrase is called during query time.

 

Remarks

IWordBreaker implementations call EndAltPhrase from their BreakText method to terminate a sequence of alternative phrases. The StartAltPhrase method is called to indicate the end of one phrase and the beginning of another in a sequence of phrases. Only the last phrase in a sequence is terminated with a call to EndAltPhrase.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

End of client support

Windows 7

End of server support

Windows Server 2008 R2

Header

Indexsrv.h

See also

IWordSink