ArcObjects Library Reference (Carto)  

ILayerFile.Open Method

Open the layer file in preparation for the contents to be retrieved or updated.

[Visual Basic .NET]
Public Sub Open ( _
    ByVal sFile As String _
)
[C#]
public void Open (
    string sFile
);
[C++]
HRESULT Open(
  BSTR sFile
);
[C++]

Parameters

sFile [in]   sFile is a parameter of type BSTR

Product Availability

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

See Also

ILayerFile Interface

.NET Samples

Working with packages in ArcGIS Engine (Code Files: FrmMapControl)