Show / Hide Table of Contents

Class UtilityElement

An instance of this class represents an entity in a utility network that corresponds to a Feature.

Inheritance
System.Object
UtilityElement
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.UtilityNetworks
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class UtilityElement
Remarks

UtilityElement includes a reference to a Feature inside a utility network source, plus a terminal (if applicable). UtilityElement objects are used across the utility network API. Some places where they are used to specify starting points and barriers for use with tracing, and returned as results from tracing.

Properties

Name Description
AssetGroup

Gets the asset group the element belongs to.

AssetType

Gets the asset type the element belongs to.

FractionAlongEdge

Gets or sets how far the starting point or barrier is along an edge in the utility network feature, from 0.0 to 1.0 of the utility network feature.

GlobalId

Gets the global ID of the element.

IsValid

Gets a value indicating whether or not the UtilityElement has complete data available.

NetworkSource

Gets the network source the element is from.

ObjectId

Gets the object id of the element's corresponding feature in the NetworkSource.

Terminal

Gets or sets the Terminal of the element's corresponding feature in the NetworkSource.

Applies to

TargetVersions
.NET Standard 2.0100.6 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.6 - 200.7
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.7

Relevant samples

Configure subnetwork trace: Get a server-defined trace configuration for a given tier and modify its traversability scope, add new condition barriers and control what is included in the subnetwork trace result.
Perform valve isolation trace: Run a filtered trace to locate operable features that will isolate an area from the flow of network resources.
Trace utility network: Discover connected features in a utility network using connected, subnetwork, upstream, and downstream traces.
In This Article
Back to top Copyright © 2022 Esri.