ArcObjects Library Reference (Framework)  

IApplication.OpenDocument Method

Opens a document in this application.

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

Optional Values

path   Optional, default value of .

Product Availability

Available with ArcGIS Desktop.


Path is a string representing the path and filename of the document to be opened. [Optional]


If no Path is specified, the Open dialog is displayed.

Note, this method does not work in ArcCatalog.

See Also

IApplication Interface

.NET Samples

Recently used filesóCommand, MultiItem, and ComboBox (Code Files: RecentFilesCombo)