Export (0) Print
Expand All

ValidationRuleSet.Description Property (Visio)

Specifies the description of the ValidationRuleSet object that appears in the user interface. Read/write.

Version Added: Visio 2010

expression .Description

expression A variable that represents a ValidationRuleSet object.

Return Value

String

You cannot set the Description property to a value that exceeds 255 characters.

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

Set vsoDocument = Visio.ActiveDocument
Set vsoValidationRuleSet = vsoDocument.Validation.RuleSets.Add("Connectivity")
vsoValidationRuleSet.Description = "Verify that shapes are correctly connected in the document."
Show:
© 2014 Microsoft