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.OpenDocument Method (ArcObjects .NET 10.5 SDK) |
Opens a document in this application.
[Visual Basic .NET] Public Sub OpenDocument ( _ [ByVal path As String] _ )
[C#] public void OpenDocument ( string path );
Optional Values
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.