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


ILayerFile.IsLayerFile Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILayerFile.IsLayerFile Property

Indicates if the file is a valid layer file.

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

Parameters sFile [in]
sFile is a parameter of type BSTR IsLayerFile [out, retval]
IsLayerFile is a parameter of type bool*

Product Availability

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

See Also

ILayerFile Interface