ArcGIS Pro 2.6 API Reference Guide
Association Constructor(AssociationType,Element,Element)

ArcGIS.Core.Data.UtilityNetwork Namespace > Association Class > Association Constructor : Association Constructor(AssociationType,Element,Element)
The type of association between fromElement and toElement.
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
ExceptionDescription
type is invalid.
fromElement or toElement is null.
type is AssociationType.JunctionEdgeObjectConnectivityMidspan.
Remarks
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Association Class
Association Members
Overload List