ValidationRule.Ignored Property (Visio)

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

Version Information

Version Added: Visio 2010

Syntax

expression .Ignored

expression A variable that represents a ValidationRule object.

Return Value

Boolean

Remarks

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

Example

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