Constructor UtilityNetwork
UtilityNetwork(ServiceGeodatabase)
Initializes a new instance of the UtilityNetwork class from the specified service geodatabase that contains it.
Declaration
public UtilityNetwork(ServiceGeodatabase serviceGeodatabase)
Parameters
Type | Name | Description |
---|---|---|
ServiceGeodatabase | serviceGeodatabase | The ServiceGeodatabase of the UtilityNetwork. |
Remarks
The ServiceGeodatabase provides the ability to switch to a branch version, manage edits, or query related records of tables participating in this UtilityNetwork.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.8 |
.NET | 200.8 |
.NET Windows | 200.8 |
.NET Android | 200.8 |
.NET iOS | 200.8 |
.NET Framework | 200.8 |
UWP | 200.8 |
UtilityNetwork(Uri)
Initializes a new instance of the UtilityNetwork class using the URI to the feature service.
Declaration
[Obsolete("Replaced by UtilityNetwork.UtilityNetwork(ServiceGeodatabase).")]
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.8 |
.NET | 100.14 - 200.8 |
.NET Windows | 100.14 - 200.8 |
.NET Android | 200.2 - 200.8 |
.NET iOS | 200.0 - 200.8 |
.NET Framework | 100.14 - 200.8 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.8 |
UtilityNetwork(Uri, Map)
Initializes a new instance of the UtilityNetwork class using the URL to the feature service and a map.
Declaration
[Obsolete("Replaced by UtilityNetwork.UtilityNetwork(ServiceGeodatabase).")]
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.8 |
.NET | 100.13 - 200.8 |
.NET Windows | 100.13 - 200.8 |
.NET Android | 200.2 - 200.8 |
.NET iOS | 200.0 - 200.8 |
.NET Framework | 100.6 - 200.8 |
Xamarin.Android | 100.6 - 100.14 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.8 |