Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.14 - 200.7
.NET100.14 - 200.7
.NET Windows100.14 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.14 - 200.7
Xamarin.Android100.14
Xamarin.iOS100.14 - 100.15
UWP100.14 - 200.7

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
TargetVersions
.NET Standard 2.0100.6 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.6 - 200.7
Xamarin.Android100.6 - 100.14
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.7
In This Article
Back to top Copyright © 2022 Esri.