ArcGIS Pro 2.7 API Reference Guide
Search Method (FeatureSceneLayer)

ArcGIS.Desktop.Mapping Namespace > FeatureSceneLayer Class : Search Method
A query filter or spatial filter
Search for features based upon the specified attribute and/or spatial criteria. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public RowCursor Search( 
   QueryFilter queryFilter
)
Public Function Search( _
   Optional ByVal queryFilter As QueryFilter _
) As RowCursor

Parameters

queryFilter
A query filter or spatial filter

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
No associated feature service
A geodatabase-related exception has occurred.
Remarks
Search can only be used on feature scene layers that have an associated feature service. Check HasAssociatedFeatureService property to determine if the FeatureSceneLayer has an associated feature service. Calling Search() on a FeatureSceneLayer with no associated feature service will throw a System.InvalidOperationException
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FeatureSceneLayer Class
FeatureSceneLayer Members