You are here: Symbol Reference
> dtSearch.Engine Namespace
> SearchResultsItem Class
> SearchResultsItem Properties
> VetoThisItem Property
Close
dtSearch .NET Standard API 2021.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-2021 dtSearch Corp. All rights reserved.