This document is archived and information here might be outdated.  Recommended version.


IApplication.OpenDocument Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IA > IApplication Interface > IApplication.OpenDocument Method
ArcGIS Developer Help

IApplication.OpenDocument Method

Opens a document in this application.

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

Product Availability

Available with ArcGIS Desktop.

Description

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

Remarks

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

Note, this method does not work in ArcCatalog.

See Also

IApplication Interface