The PackageLayer type exposes the following members.

Constructors

  NameDescription
PackageLayerOverloaded.
Initializes a new instance of the PackageLayer class with the specified properties.

Methods

  NameDescription
ClearCache
Removes the cache for the Layer.
(Inherited from Layer.)
Clone
Returns a new unconnected PackageLayer with properties equal to the current PackageLayer.
Connect
Connects the PackageLayer to the data held within an ArcGIS Desktop layer file or a layer package file.
(Overrides Layer..::.Connect()()().)
Contains
Determines whether the PackageLayer contains a specified MapItem.
CreateFromXmlString
Helper method to generate an object from its XML representation, used to deserialize an object passed to a worker thread.
Disconnect
Disconnects the PackageLayer from its underlying data source.
(Overrides Layer..::.Disconnect()()().)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindById
Searches the PackageLayer for a MapItem with a specified unique ID.
FindByName
Searches the PackageLayer for a MapItem with a specified name.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMapItems<(Of <(T>)>)
Gets all items in the PackageLayer of a specified MapItem type; only PackageChildLayers may be descendants of KmlLayer.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
MoveToOverloaded.
Moves the MapItem to be a ChildItem of the specified IMapItemParent.
OpenOverloaded.
Initializes a new PackageLayer object and connects the layer to the specified ArcGIS layer or package data.
OpenLayerFile
Initializes a new PackageLayer object using the specified layer file path and connects the layer to the underlying data source.
RemoveFromParent
Removes the MapItem from its IMapItemParent container.
(Inherited from MapItem.)
ToString
Returns a string that represents the current object.
(Inherited from MapItem.)
ToXmlString
Helper method to serialize an object to its XML representation, used to serialize an object to pass to a worker thread.
(Inherited from MapItem.)

Properties

  NameDescription
Attribution
Gets or sets a string to acknowledge use of the PackageLayers underlying data.
(Overrides Layer..::.Attribution.)
Behavior3D
Gets or sets the behavior of the Layer in 3D display mode.
(Inherited from Layer.)
CachePolicy
Gets or sets the cache policy for the Layer.
(Inherited from Layer.)
CanChangeAttribution
Gets a value indicating if the PackageLayer attribution string can be modified.
(Overrides Layer..::.CanChangeAttribution.)
ChildItems
Gets the items contained within the PackageLayer.
ConnectionStatus
Gets the Layers connection status.
(Inherited from Layer.)
CoordinateSystem
Gets the Layers coordinate system.
(Inherited from Layer.)
Descendants
Gets a collection of the descendant MapItems contained by the PackageLayer; IMapItemParent objects are added to the collection before their associated ChildItems.
DescendantsBottomUp
Gets a collection of the descendant MapItems contained by the PackageLayer; IMapItemParent objects are added to the collection after their associated ChildItems.
Description
Gets or sets a textual description for the Layer.
(Inherited from Layer.)
Extent
Gets the extent of the PackageLayer.
(Overrides Layer..::.Extent.)
HasTable
Gets a value indicating whether it is possible to access the underlying data associated with the PackageLayer.
Icon
A custom icon to be displayed in the Contents window for this MapItem.
(Inherited from MapItem.)
Id
Gets or sets a unique identifier for the MapItem.
(Inherited from MapItem.)
IsConnected
Gets a value indicating whether the Layer is connected to an underlying data source.
(Inherited from Layer.)
MaximumScale
Gets or sets the maximum scale at which the Layer can be visible in a map; zoom in beyond this scale and the Layer will not be drawn.
(Inherited from Layer.)
MinimumScale
Gets or sets the minimum scale at which the Layer can be visible in a map; zoom out beyond this scale and the Layer will not be drawn.
(Inherited from Layer.)
Name
Gets or sets the MapItem name.
(Inherited from MapItem.)
Parent
Gets the immediate IMapItemParent for the MapItem.
(Inherited from MapItem.)
Path
The file path or URL to an ArcGIS Desktop layer file, layer package file or layer package information file.
RefreshInterval
Gets or sets the refresh interval for the Layer.
(Inherited from Layer.)
RootMap
Gets the map that contains the MapItem.
(Inherited from MapItem.)
Table
Gets the underlying Table associated with the PackageLayer.
Tag
Gets or sets the object that contains data related to the MapItem.
(Inherited from MapItem.)
Transparency
Gets or sets the transparency for the Layer in a map.
(Inherited from Layer.)
Viewpoint
Gets or sets the viewing position for the MapItem.
(Inherited from MapItem.)
Visible
Gets or sets the visibility for the Layer in a map.
(Inherited from Layer.)

See Also