ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / Association Class / Association Constructor / Association Constructor(AssociationType,Element,Element)
The type of association between fromElement and toElement.

In This Topic
    Association Constructor(AssociationType,Element,Element)
    In This Topic
    Initializes a new instance of the Association class.
    Syntax
    Public Function New( _
       ByVal type As AssociationType, _
       ByVal fromElement As Element, _
       ByVal toElement As Element _
    )

    Parameters

    type
    The type of association between fromElement and toElement.
    fromElement
    toElement
    Exceptions
    Remarks
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also