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.Close Method (ArcObjects .NET 10.5 SDK) |
Close the map document.
[Visual Basic .NET]
Public Sub Close ( _
)
[C#] public void Close ( );
[C++]
HRESULT Close(
void
);
Closes the MapDocument. This sets the DocumentFilename property to an empty string and resets the ActiveView, PageLayout, Map, MapCount, Printer and Thumbnail properties.