ArcGIS Explorer Component Help |
PackageLayer..::.Connect Method |
PackageLayer Class See Also |
Connects the PackageLayer to the data held within an ArcGIS Desktop layer file or a layer package file.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public override bool Connect() |
Visual Basic (Declaration) |
---|
Public Overrides Function Connect As Boolean |
Return Value
trueTruetruetrue (True in Visual Basic) if the PackageLayer was connected successfully; otherwise falseFalsefalsefalse (False in Visual Basic).Remarks
In order for PackageLayer data to be displayed on a map, the layer must be in a connected state. Use this method to establish a connection to the PackageLayer data source.
For more information, see the remarks section of the Connect method on the Layer abstract class.