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


IARLayer.Searchable Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARLayer Interface > IARLayer.Searchable Property
ArcGIS Developer Help

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