RVTDocs.com

RoutingPreferenceManager.RemoveRule

Method
Description:
Removes an existing routing preference rule. Thrown if the index is out of bounds.
Syntax
public void RemoveRule(
	RoutingPreferenceRuleGroupType groupType,
	int index
)
Parameters
Parameter Type Description
groupType RoutingPreferenceRuleGroupType The routing preference group type in which the rule should be removed.
index Int32 The index position of removed routing preference rule in the group.
Return Value
Exceptions
Exception Condition
ArgumentException index is not a valid zero-based index within groupType. -or-
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration