ValidationIssues

The ValidationIssues collection stores the issues created by the Validation.Validate([RuleSet as ValidationRuleSet][, Flags as ValidationFlags]) method and by the RuleSet.AddIssue([TargetPage as Page][,TargetShape as Shape]) method. It can be reset using the Clear() method, which will also zero the LastValidatedDate of the parent Validation object.

ValidationIssues

Most issues are automatically created by the Validate() method, but you can write code to add issues whenever the user clicks Check Diagram against a particular rule set. You would do this by listening to the RuleSetValidated(RuleSet as ValidationRuleSet) event of the Application, Documents ...

Get Microsoft Visio 2010 Business Process Diagramming and Validation now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.