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] _
)
[C#]
public void SaveDocument (
    string saveAsPath
);
[C#]

Optional Values

saveAsPath   Optional, default value of .

Product Availability

Available with ArcGIS Desktop.

Description

saveAsPath is a string representing a path and filename for the document that is being saved. [Optional]

Remarks

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