Table of contents
TOC
Collapse the table of content
Expand the table of content

ValidationRuleSet.RuleSetFlags Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets or sets special rule-set properties. Read/write.

Syntax

expression . RuleSetFlags

expression A variable that represents a ValidationRuleSet object.

Return Value

VisRuleSetFlags

Remarks

The RuleSetFlags property value must be one of the following VisRuleSetFlags constants.

ConstantValueDescription
visRuleSetDefault0The default set of rule-set properties. The rule set appears in the the Rules to Check list (click the Check Diagram arrow on the Process tab).
visRuleSetHidden1The rule set does not appear in the Rules to Check list.

Example

The following Visual Basic for Applications (VBA) example shows how to use the RuleSetFlags property to set the properties for a validation rule set named "Connectivity" in the active document.

Set vsoDocument = Visio.ActiveDocument
Set vsoValidationRuleSet = vsoDocument.Validation.RuleSets.Add("Connectivity")
vsoValidationRuleSet.RuleSetFlags = Visio.VisRuleSetFlags.visRuleSetDefault
© 2017 Microsoft