RoutingPreferenceManager.AddRule
Description:
Adds a new routing preference rule to the rule group.
Adds a new routing preference rule to the rule group.
Overloads (2):
AddRule(RoutingPreferenceRuleGroupType,RoutingPreferenceRule)
public void AddRule(
RoutingPreferenceRuleGroupType groupType,
RoutingPreferenceRule rule
)
-
groupTypeThe routing preference group in which the rule should be added.
-
ruleThe new rule to be added.
-
The rule cannot be added to the groupType. -or- Thrown if the index is out of bounds, or the rule is not valid for this group (e.g. an elbow may not be added to the junction group).
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration