ArcObjects Library Reference (System)  

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