![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
| ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerFindResult Interface > IMapServerFindResult.LayerID Property (ArcObjects .NET 10.4 SDK) | 
The layer ID.
[Visual Basic .NET] Public Property LayerID As Integer
[C#] public int LayerID {get; set;}
[C++]
HRESULT get_LayerID(
  long* LayerID
);
[C++]
HRESULT put_LayerID(
  long LayerID
);
[C++]
Parameters LayerID [out, retval] LayerID is a parameter of type long LayerID [in] LayerID is a parameter of type long