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


ILegendItem2.Layer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegendItem2 Interface > ILegendItem2.Layer Property
ArcGIS Developer Help

ILegendItem2.Layer Property

Associated layer.

[Visual Basic .NET]
Public Property Layer As ILayer
[C#]
public ILayer Layer {get; set;}
[C++]
HRESULT get_Layer(
  ILayer** Layer
);
[C++]
HRESULT putref_Layer(
  ILayer* Layer
);
[C++]
Parameters
Layer [out, retval]

Layer is a parameter of type ILayer** Layer [in]
Layer is a parameter of type ILayer*

Product Availability

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

See Also

ILegendItem2 Interface