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


ILegendItem2.Layer Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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