This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IA > IApplication Interface > IApplication.SaveDocument Method (ArcObjects .NET 10.5 SDK) |
Saves the document that is currently open in this application.
[Visual Basic .NET] Public Sub SaveDocument ( _ [ByVal saveAsPath As String] _ )
[C#] public void SaveDocument ( string saveAsPath );
Optional Values
saveAsPath is a string representing a path and filename for the document that is being saved. [Optional]
If this document is a new document that has not been saved yet and a saveAsPath is not specified, the Save As dialog will be displayed.