ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.NetworkDiagrams Namespace / FindNetworkRowQuery Class / DiagramFeatureGlobalIDs Property
Example

In This Topic
    DiagramFeatureGlobalIDs Property
    In This Topic
    A list of diagram feature global IDs.
    Syntax
    public IReadOnlyList<Guid> DiagramFeatureGlobalIDs {get; set;}
    Public Property DiagramFeatureGlobalIDs As IReadOnlyList(Of Guid)
    Example
    Find Utility Network Rows for a set of diagram features
    public void FindDiagramRows(NetworkDiagram diagram, List<Guid> globalIDs)
    {
      FindNetworkRowQuery rowQuery = new FindNetworkRowQuery();
      rowQuery.DiagramFeatureGlobalIDs = globalIDs;
      rowQuery.AddAggregations = true;
    
      IReadOnlyList<FindResultItem> rows = diagram.FindNetworkRows(rowQuery);
      foreach (var findRow in rows)
      {
        long objectID = findRow.ObjectID;
        Guid guid = findRow.GlobalID;
        GeometryType geometryType = findRow.GeometryType;
        int sourceID = findRow.SourceID;
      }
    }
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also