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


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

IMapDocument.IsPresent Property

Indicates if the map document is present.

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

sDocument 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.

Description

Determines whether the specified file is present in the file system. Check that a file is present before using the Open method.

See Also

IMapDocument Interface