This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDocument Interface > IMapDocument.IsPresent Property (ArcObjects .NET 10.5 SDK) |
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,
VARIANT_BOOL* IsPresent
);
[C++]
Parameters sDocument [in] sDocument is a parameter of type BSTR IsPresent [out, retval] IsPresent is a parameter of type VARIANT_BOOL
Determines whether the specified file is present in the file system. Check that a file is present before using the Open method.