Search Method (BasicFeatureLayer)
Executes a spatial or attribute query to the underlying data source and returns features matching the search criteria. For stream layer, you should call ArcGIS.Core.Data.Realtime.RealtimeFeatureClass.StopStreaming for predictable result. This method must be called on the MCT. Use QueuedTask.Run.
Parameters
- queryFilter
- A query filter or spatial filter to perform spatial search.
- time
- A time filter only works if the layer is time enabled.
- range
- A range filter only works if the layer is range enabled.
- floor
- A floor filter filter only works if the layer has a defined floor field.
Return Value
A
RowCursor (you can cast it to
FeatureCursor) allows access to the matched features.
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.