You are here: C++ API > Classes > dtsSearchFilter Class > dtsSearchFilter::setSelections Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchFilter::setSelections Method
Syntax
C++
void setSelections(int iIndex, unsigned long * idList, unsigned long idCount, int fSelected);
Parameters
Description
int iIndex
The index containing these documents (identifier returned by addIndex)
unsigned long * idList
Pointer to a list of document ids
unsigned long idCount
Number of ids in the idList
int fSelected
Indicates whether the listed documents should be selected or not

Set the selection state of a list of document ids to the value indicated by fSelected.

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