ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.NetworkDiagrams Namespace / DiagramAggregation Class / AggregationType Property
Example

In This Topic
    AggregationType Property
    In This Topic
    Syntax
    public NetworkDiagramAggregationType AggregationType {get;}
    Public ReadOnly Property AggregationType As NetworkDiagramAggregationType
    Example
    Get Diagram Aggregations
    public void GetDiagramAggregation(NetworkDiagram networkDiagram)
    {
      IReadOnlyList<DiagramAggregation> aggregations = networkDiagram.GetAggregations();
      foreach (var aggregation in aggregations)
      {
        var type = aggregation.AggregationType;
      }
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also