ArcObjects Library Reference (ArcMapUI)  

IFinder.Find Method

Perform find functionality.

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

Product Availability

Available with ArcGIS Desktop.

Description

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