Property UtilityNetworks
UtilityNetworks
Gets the list of UtilityNetwork in the map.
Declaration
public IList<UtilityNetwork> UtilityNetworks { get; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IList<UtilityNetwork> | The list of UtilityNetwork in the map. | 
Remarks
This collection of UtilityNetwork is specific to this map.
A Map created with a web map portal item with utility networks will pre-populate this collection.
When this Map is used to create a UtilityNetwork, the UtilityNetwork that was created will be added to this collection.
Only a UtilityNetwork that is not loaded may be added to this collection. An attempt to add a UtilityNetwork that is loaded or loading will throw an System.InvalidOperationException.
An attempt to add a UtilityNetwork that is already part of a UtilityNetworks to this collection will throw an ArcGISRuntimeException with "Already owned" error message.
An attempt to add a null UtilityNetwork to this collection will throw an System.ArgumentNullException.
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.10 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.10 - 200.8 | 
| Xamarin.Android | 100.10 - 100.15 | 
| Xamarin.iOS | 100.10 - 100.15 | 
| UWP | 100.10 - 200.8 |