ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / Association Class / Association Constructor / Association Constructor(AssociationType,Element,Element,ContainmentVisibility)
The type of association between containerElement and contentElement. Typically, it is AssociationType.Containment.
An Element representing the container (e.g., a substation).
An Element representing the content to move into the container (e.g., a circuit breaker).
Specifies the visibility of contentElement.

In This Topic
    Association Constructor(AssociationType,Element,Element,ContainmentVisibility)
    In This Topic
    Initializes a new instance of the Association class. Use this overload if type is AssociationType.Containment.
    Syntax

    Parameters

    type
    The type of association between containerElement and contentElement. Typically, it is AssociationType.Containment.
    containerElement
    An Element representing the container (e.g., a substation).
    contentElement
    An Element representing the content to move into the container (e.g., a circuit breaker).
    containmentVisibility
    Specifies the visibility of contentElement.
    Exceptions
    Remarks
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also