ArcObjects Library Reference (Carto)  

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

Parameters

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

Product Availability

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

See Also

ILayerFile Interface