This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Classes > A > ArcReaderSearchDef CoClass (ArcObjects .NET 10.4 SDK) |
ArcReaderSearchDef is used to specify spatial and attribute queries.
The IARLayer::SearchARFeatures, IARLayer::QueryARFeatures, IARMap::SearchARFeatures , IARMap::QueryARFeatures, IARGlobe::SearchARFeatures and IARGlobe::QueryARFeatures methods allow ARLayer, ARMap and ARGlobe objects to be searched based upon specified constraints, to return a subset of features. The search can be based upon either an attribute constraint, a spatial constraint or both an attribute and spatial constraint. For example, you may wish to select features overlapping a search area, or find features within a specified distance of a feature or find features with a particular value greater than 10.
A spatial constraint will specify a geometry or shape against which the ARFeature objects will be tested. There are many types of spatial constraint, such as 'touches', 'contains', 'overlaps' and 'intersects'. An attribute constraint will specify an SQL �where clause�. These constraints are managed by the ArcReaderSearchDef object. Use the resulting ARFeatureCursor and ARFeatureSet objects to iterate over the subset of features that are returned.
Interfaces | Description |
---|---|
IARSearchDef | Provides access to members that control attribute and spatial search definitions. |