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

IMapServerIdentifyResult.LayerID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerIdentifyResult Interface > IMapServerIdentifyResult.LayerID Property
ArcGIS Developer Help

IMapServerIdentifyResult.LayerID Property

The layer ID of the identified object.

[Visual Basic .NET]
Public ReadOnly Property LayerID As Integer
public int LayerID {get;}
HRESULT get_LayerID(
  System.Int32* LayerID
LayerID [out, retval]

LayerID is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapServerIdentifyResult Interface