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

ValidationRule.Category Property (Visio)

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

Represents the text displayed in the Category column of the Issues window. Read/write.

Syntax

expression . Category

expression A variable that represents a ValidationRule object.

Return Value

String

Remarks

The length of the string assigned to the Category property cannot exceed 255 characters.

Example

The following Visual Basic for Applications (VBA) example shows how to use the Category property to set the text of the Category column of the Issues window for a validation rule named "Unglued2DShape".

Set vsoValidationRule = vsoValidationRuleSet.Rules.Add("Unglued2DShape")
vsoValidationRule.Category = "Shapes"
© 2017 Microsoft