This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IF > IFile Interface > IFile.Open Method (ArcObjects .NET 10.5 SDK) |
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