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

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

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also