ArcObjects Library Reference (Framework)  

IApplication.SaveDocument Method

Saves the document that is currently open in this application.

[Visual Basic .NET]
Public Sub SaveDocument ( _
    [ByVal saveAsPath As String] _
public void SaveDocument (
    string saveAsPath

Optional Values

saveAsPath   Optional, default value of .

Product Availability

Available with ArcGIS Desktop.


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.

See Also

IApplication Interface