This document is archived and information here might be outdated. Recommended version. |
Perform find functionality.
[Visual Basic .NET] Public Sub Find ( _ ByVal pFindCallBack As IFindCallBack _ )
[C#] public void Find ( IFindCallBack pFindCallBack );
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.