Constructor UtilityNetwork
UtilityNetwork(Uri)
Initializes a new instance of the UtilityNetwork class using the URI to the feature service.
Declaration
public UtilityNetwork(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The URI to the Feature Service. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
UtilityNetwork(Uri, Map)
Initializes a new instance of the UtilityNetwork class using the URL to the feature service and a map.
Declaration
public UtilityNetwork(Uri uri, Map map)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The URI to the Feature Service. |
Map | map | A Map that provides FeatureTables to be reused by the utility network. |
Remarks
Creates a utility network associated with a particular service, using the same ArcGISFeatureTable instances in use by FeatureLayer instances within the map. This lets any UtilityElement or ArcGISFeature instances the UtilityNetwork creates or uses be associated with those existing tables and layers. Usually used when instantiating a UtilityNetwork object from a web map.
This UtilityNetwork will be added to UtilityNetworks.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.14 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |