This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFile Interface > ILayerFile.Layer Property (ArcObjects .NET 10.5 SDK) |
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