You are here: Symbol Reference > dtSearch.Engine Namespace > Classes > SearchResultsItem Class > SearchResultsItem Properties > VetoThisItem Property
Close
dtSearch .NET Standard API 2024.02
SearchResultsItem.VetoThisItem Property

Use to prevent an item from being added to SearchResults in the OnFound callback.

public bool VetoThisItem;

In the OnFound callback in ISearchStatusHandler, set VetoThisItem = true to prevent the item from being included in search results.

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