public void AddAssociation( Association association )
Public Sub AddAssociation( _ ByVal association As Association _ )
Parameters
- association
- The specified association.
public void AddAssociation( Association association )
Public Sub AddAssociation( _ ByVal association As Association _ )
Exception | Description |
---|---|
System.ArgumentNullException | association is null. |
System.InvalidOperationException |
If this instance of utility network has a UtilityNetworkDefinition.GetSchemaVersion less than
-or- If the Association.Type of association is AssociationType.JunctionJunctionConnectivity, AssociationType.JunctionEdgeObjectConnectivityFromSide, AssociationType.JunctionEdgeObjectConnectivityMidspan or AssociationType.JunctionEdgeObjectConnectivityToSide and the Terminal in Association.FromElement is null and the associated TerminalConfiguration has multiple terminals. -or- If the Association.Type of association is AssociationType.JunctionJunctionConnectivity and the Terminal in Association.ToElement is null and the associated TerminalConfiguration has multiple terminals. |
Target Platforms: Windows 10, Windows 8.1, Windows 7