Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Specifies the description of the ValidationRuleSet object that appears in the user interface. Read/write.
Syntax
expression.Description
expression A variable that represents a ValidationRuleSet object.
Return value
String
Remarks
You cannot set the Description property to a value that exceeds 255 characters.
Example
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."
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.