O'Reilly logo

Microsoft Visio 2010 Business Process Diagramming and Validation by David John Parker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The ValidationRules collection

Once you have a rule set you can review, amend, or add to the rules within it. You can add a rule using the ValidationRules.AddRule(NameU as string) method. Note that the NameU is really for use in code, since it is the Description property that is displayed in UI. The NameU must be unique within the Rules collection of the parent ValidationRuleSet.

The ValidationRules collection

You can retrieve a rule by its index position in the collection, using ValidationRules.Item(index), or by its ID using ValidationRules.ItemFromID(ID). Once you have retrieved a ValidationRule you can read its NameU and Description, or check if the rule set is ignored for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required