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


ILayerFile.IsReadOnly Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILayerFile.IsReadOnly Property

Indicates if the layer file is read only.

[Visual Basic .NET]
Public Function get_IsReadOnly ( _
    ByVal sFile As String _
) As Boolean
[C#]
public bool get_IsReadOnly (
    string sFile
);
[C++]
HRESULT get_IsReadOnly(
  BSTR sFile,
  VARIANT_BOOL* IsReadOnly
);
[C++]

Parameters sFile [in] sFile is a parameter of type BSTR IsReadOnly [out, retval] IsReadOnly is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ILayerFile Interface