ValidationRule.Ignored Property (Visio)

Determines whether the validation rule is currently ignored. Read/write.

Version Added: Visio 2010

expression .Ignored

expression A variable that represents a ValidationRule object.

Return Value


Issues that pertain to an ignored rule are still recorded but, by default, they are not displayed in the Issues window.

The following Visual Basic for Applications (VBA) example shows how to use the Ignored property to specify that the validation rule named "Unglued2DShape" should not be ignored.

Set vsoValidationRule = vsoValidationRuleSet.Rules.Add("Unglued2DShape")
vsoValidationRule.Ignored = False