You are here: COM Interface > Interfaces > IWordListBuilder Interface > IWordListBuilder::ListWords Method
dtSearch Text Retrieval Engine Programmer's Reference
IWordListBuilder::ListWords Method
HRESULT ListWords([in] BSTR CursorWord, [in] long Range, [out, retval]long * pVal);
[in] BSTR CursorWord
The word to use as the center of the list
[in] long Range
The number of words before and after this word to find in the index

Updates the word list with a new cursor word, which is the word in the middle of the list. Range is the number of words surrounding the cursor word

ListMatchingWords finds words that match a particular search expression. ListWords, in contrast, lists a specified number of words before and after a particular word in the index.

Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.