This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Classes > L > LayerFile CoClass (ArcObjects .NET 10.4 SDK) |
The LayerFile coclass is used to read and write layer document files.
When creating a new LayerFile object the ReplaceContents method must be used to set your Layer, as the Layer property is Read-Only. If a new LayerFile is created but no Layer has been set, the IsLayerFile will return False.
Interfaces | Description |
---|---|
IDocumentVersion (esriSystem) | Provides access to members that control the document version. |
ILayerFile | Provides access to members that control the reading and writing of layer document files. |