Property UtilityNetworks
UtilityNetworks
Gets the list of UtilityNetwork in the map.
Declaration
public IList<UtilityNetwork> UtilityNetworks { get; }
Property Value
| Type | Description |
|---|---|
| IList<UtilityNetwork> | The list of UtilityNetwork in the map. |
Remarks
This collection of UtilityNetwork is specific to this map.
A Map created with a webmap 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 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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.10 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.10 - 100.12 |
| Xamarin.Android | 100.10 - 100.15 |
| Xamarin.iOS | 100.10 - 100.15 |
| UWP | 100.10 - 100.15 |