You are here: COM Interface > Interfaces > ISearchFilter Interface > ISearchFilter::GetItemArray Method
dtSearch Text Retrieval Engine Programmer's Reference
ISearchFilter::GetItemArray Method
HRESULT GetItemArray([in] LONG iIndex, [out,retval] VARIANT* pArray);

GetItemArray returns an array of 32-bit integers containing all of the document ids selected in a search filter.

VBScript cannot access an array of integers, so the returned value cannot be used with VBScript

Dim items As Variant items = searchFilter.GetItemArray(0) Dim i As Long Dim docid As Long For i = 0 To UBound(items) docid = items(i) ...
Copyright (c) 1995-2022 dtSearch Corp. All rights reserved.