This document is archived and information here might be outdated.  Recommended version.


IARGlobe.QueryARFeatures Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

IARGlobe.QueryARFeatures Method

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
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

See Also

IARGlobe Interface