ArcObjects Library Reference (Carto)  

ILayerFile.Layer Property

The Layer object. If no layer object is stored in the layer file this returns NULL.

[Visual Basic .NET]
Public ReadOnly Property Layer As ILayer
[C#]
public ILayer Layer {get;}
[C++]
HRESULT get_Layer(
  ILayer** ppLayer
);
[C++]

Parameters

ppLayer [out, retval]

  ppLayer is a parameter of type ILayer

Product Availability

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

See Also

ILayerFile Interface