|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFind
Provides access to members that control finding.
IFind is a simple interface that can be used to search for a string in the attributes of Features of a layer. If the full Find dialog is needed, execute the appropriate Find command from esriControls instead.
| Method Summary | |
|---|---|
IArray |
find(String search,
boolean contains,
Object fields,
ITrackCancel trackCancel)
Finds the specified search string in the given attribute fields. |
String |
getFindDisplayField()
The display field. |
Object |
getFindFields()
The attribute fields. |
| Method Detail |
|---|
IArray find(String search,
boolean contains,
Object fields,
ITrackCancel trackCancel)
throws IOException,
AutomationException
This method returns an reference to an Array of FeatureFindData objects. To search, pass in a reference to an Fields object along with the search string and a boolean option to return features that have attributes that contain the string. If Contains = False, only objects with an attribute that consists of the entire search string will be returned.
search - The search (in)contains - The contains (in)fields - A Variant (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Object getFindFields()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getFindDisplayField()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||