Initializes a new ServiceLayer object and connects the layer to a WMS service.
Namespace:
ESRI.ArcGISExplorer.Mapping
Assembly:
ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function OpenWms ( _
url As Uri, _
subServiceName As String _
) As ServiceLayer |
Parameters
- url
- Type: System..::.Uri
A Uri object which represents a Uniform Resource Identifier and consists of
a string used to identify the WMS service on the Internet.
- subServiceName
- Type: System..::.String
The name of the sublayer of the service.
Return Value
A ServiceLayer object connected to the specified WMS service.
Remarks
Exceptions
See Also