Initializes a new PackageLayer object using the specified file path and connects the layer to the underlying data source.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public static PackageLayer Open(
	string filename
)
Visual Basic (Declaration)
Public Shared Function Open ( _
	filename As String _
) As PackageLayer

Parameters

filename
Type: System..::.String

The path to either a layer package file (.lpk) or to a layer package information file (.pkinfo).

Return Value

A PackageLayer object which represents a layer defined within a layer package file.

See Also