This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobe Interface > IARGlobe.QueryARFeatures Method (ArcObjects .NET 10.5 SDK) |
Searches the globe using a search definition and returns an ARFeatureSet.
[Visual Basic .NET] Public Function QueryARFeatures ( _ ByVal pSearchDef As ArcReaderSearchDef _ ) As ARFeatureSet
[C#] public ARFeatureSet QueryARFeatures ( ArcReaderSearchDef pSearchDef );
Queries the ARGlobe based upon an attribute or spatial query as defined by the ARSearchDef. Only ARLayer objects with a Searchable property set to true within the ARGlobe will be searched.
All ARFeature objects matching the query are instantiated in the ARFeatureSet. If the number of features could be very large, this may not be desirable as it may result in a long delay and consume a large amount of memory. Instead use the SearchARFeatures method. If there are no features matching the query the IARFeatureSet::ARFeatureCount property will return 0.