public class Element : System.IEquatable<Element>
Public Class Element Implements System.IEquatable(Of Element)
public class Element : System.IEquatable<Element>
Public Class Element Implements System.IEquatable(Of Element)
// usage : using (var row = FetchRowFromElement(...)) public static Row FetchRowFromElement(UtilityNetwork utilityNetwork, Element element) { // Get the table from the element using (Table table = utilityNetwork.GetTable(element.NetworkSource)) { // Create a query filter to fetch the appropriate row QueryFilter queryFilter = new QueryFilter() { ObjectIDs = new List<long>() { element.ObjectID } }; // Fetch and return the row using (RowCursor rowCursor = table.Search(queryFilter)) { if (rowCursor.MoveNext()) { return rowCursor.Current; } return null; } } }
System.Object
ArcGIS.Core.Data.UtilityNetwork.Element
ArcGIS.Core.Data.UtilityNetwork.Trace.FeatureElement
Target Platforms: Windows 11, Windows 10