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


ILayerFile.IsPresent Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFile Interface > ILayerFile.IsPresent Property
ArcGIS Developer Help

ILayerFile.IsPresent Property

Indicates if the layer file is present.

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

sFile is a parameter of type BSTR IsPresent [out, retval]
IsPresent is a parameter of type bool*

Product Availability

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

See Also

ILayerFile Interface