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,
  VARIANT_BOOL* IsLayerFile
);
[C++]

Parameters

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

Product Availability

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

See Also

ILayerFile Interface