This document is archived and information here might be outdated.  Recommended version.

IFinder.Find Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IF > IFinder Interface > IFinder.Find Method
ArcGIS Developer Help

IFinder.Find Method

Perform find functionality.

[Visual Basic .NET]
Public Sub Find ( _
    ByVal pFindCallBack As IFindCallBack _
public void Find (
    IFindCallBack pFindCallBack

Product Availability

Available with ArcGIS Desktop.


Perform the search.

Parameters such as the layer on which to perform the search and the value to search for are typically read from the controls in your tab.

You may search the layer using the IFind interface or any other selection function.

Each feature in the array corresponding to the result of the search is managed using the IFeatureFindData interface. For each feature, do set the IFeatureFindData::Layer and IFeatureFindData::ActiveView properties.

Use IFindCallBack to add these features to the result list. For each of them set the Object property and the Column values then call the AddNewRow method.

See Also

IFinder Interface