The ServiceLayer type exposes the following members.

Constructors

  NameDescription
ServiceLayer
Initializes a new instance of the ServiceLayer class with the specified ServiceConnectionProperties.

Methods

  NameDescription
ClearCache
Removes the cache for the Layer.
(Inherited from Layer.)
Clone
Returns a new unconnected ServiceLayer with properties equal to the current ServiceLayer.
Connect
Connects the ServiceLayer to spatial data provided by a service: ArcGIS Server (map, globe and image), ArcIMS, WMS or Bing maps.
(Overrides Layer..::.Connect()()().)
Contains
Determines whether the ServiceLayer 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 ServiceLayer 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 ServiceLayer for a MapItem with a specified unique ID.
FindByName
Searches the ServiceLayer 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 ServiceLayer of a specified MapItem type; only ServiceChildLayers 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.
OpenBingMaps
Initializes a new ServiceLayer object and connects the layer to a Bing maps service.
OpenGlobeServerOverloaded.
Initializes a new ServiceLayer object and connects the layer to the specified ArcGIS Server 3D globe service.
OpenImageServerOverloaded.
Initializes a new ServiceLayer object and connects the layer to the specified ArcGIS Server image service.
OpenImsOverloaded.
Initializes a new ServiceLayer object and connects the layer to the specified ArcIMS service.
OpenMapServerOverloaded.
Initializes a new ServiceLayer object and connects the layer to the specified ArcGIS Server 2D map service.
OpenOpenStreetMap
Initializes a new ServiceLayer object and connects the layer to the OpenStreetMap mapping service.
OpenWmsOverloaded.
Initializes a new ServiceLayer object and connects the layer to the specified WMS service.
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 ServiceLayers underlying data.
(Overrides Layer..::.Attribution.)
Behavior3D
Gets or sets the behavior of the Layer in 3D display mode.
(Overrides Layer..::.Behavior3D.)
CachePolicy
Gets or sets the cache policy for the Layer.
(Inherited from Layer.)
CanChangeAttribution
Gets a value indicating if the ServiceLayer attribution string can be modified.
(Overrides Layer..::.CanChangeAttribution.)
CanQuery
Gets a value indicating whether the ServiceLayer supports queries.
ChildItems
Gets the child layers of the ServiceLayer.
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 ServiceLayer; IMapItemParent objects are added to the collection before their associated ChildItems.
DescendantsBottomUp
Gets a collection of the descendant MapItems contained by the ServiceLayer; 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 Layers extent.
(Inherited from Layer.)
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.)
RefreshInterval
Gets or sets the refresh interval for the Layer.
(Inherited from Layer.)
RootMap
Gets the map that contains the MapItem.
(Inherited from MapItem.)
ServiceConnectionProperties
Gets or sets the connection properties for the ServiceLayers underlying service.
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