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


IARLayer.Searchable Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

IARLayer.Searchable Property

Indicates if the layer is searchable (only feature layers are searchable).

[Visual Basic .NET]
Public ReadOnly Property Searchable As Boolean
[C#]
public bool Searchable {get;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The Searchable property indicates whether the layer can be searched and queried, using the SearchARFeatures and QueryARFeatures methods. Only feature layers can be searched.

Errors Returned

2021 800A07E5: The specified layer index is invalid 

See Also

IARLayer Interface