The ServiceLayer type exposes the following members.

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.)

See Also