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


IFile.Open Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IF > IFile Interface > IFile.Open Method
ArcGIS Developer Help

IFile.Open Method

Opens the specified file.

[Visual Basic .NET]
Public Sub Open ( _
    ByVal FileName As String, _
    ByVal permission As esriFilePermission _
)
[C#]
public void Open (
    string FileName,
    esriFilePermission permission
);
[C++]
HRESULT Open(
  BSTR FileName,
  esriFilePermission permission
);
[C++]
Parameters
FileName [in]

FileName is a parameter of type BSTR permission [in]
permission is a parameter of type esriFilePermission

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IFile Interface