The Layer type exposes the following members.

Methods

  NameDescription
ClearCache
Removes the cache for the Layer.
Clone
Returns a new unconnected Layer with properties equal to the current Layer.
Connect
Connects the Layer to an underlying data source.
CreateFromXmlString
Helper method to generate an object from its XML representation, used to deserialize an object passed to a worker thread.
Disconnect
Disconnects the Layer from its underlying data source.
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.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
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.
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 Layers underlying data.
Behavior3D
Gets or sets the behavior of the Layer in 3D display mode.
CachePolicy
Gets or sets the cache policy for the Layer.
CanChangeAttribution
Gets a value indicating if the Layer attribution string can be modified.
ConnectionStatus
Gets the Layers connection status.
CoordinateSystem
Gets the Layers coordinate system.
Description
Gets or sets a textual description for the Layer.
Extent
Gets the Layers extent.
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.
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.
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.
Name
Gets or sets the MapItem name.
(Inherited from MapItem.)
Parent
Gets the immediate IMapItemParent for the MapItem.
(Inherited from MapItem.)
RefreshInterval
Gets or sets the refresh interval for the Layer.
RootMap
Gets the map that contains the MapItem.
(Inherited from MapItem.)
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.
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.

See Also