RuleSet

RuleSet class

Represents one set of diagram validation rules.

Constructors

NameDescription
RuleSetConstructor.

Properties

NameTypeDescription
IDlongSpecifies the unique identifier of the validation rule set.
NameUStringSpecifies the universal name of the validation rule set.
NameStringSpecifies the local name of the validation rule set. Defaults to NameU attribute value.
DescriptionStringSpecifies the description of the validation rule set that appears in the user interface. Default is an empty string.
EnabledintSpecifies whether the rules in the specified validation rule set are checked when validation is triggered for the curren
RuleSetFlagsintSpecifies whether the rule set appears in the Rules to Check list. The value of the property is BOOL integer constant.
RulesRuleCollectionRule collection.

RuleSet()

Constructor.

RuleSet.ID property

Specifies the unique identifier of the validation rule set.

Type: long

RuleSet.NameU property

Specifies the universal name of the validation rule set.

Type: String

RuleSet.Name property

Specifies the local name of the validation rule set. Defaults to NameU attribute value.

Type: String

RuleSet.Description property

Specifies the description of the validation rule set that appears in the user interface. Default is an empty string.

Type: String

RuleSet.Enabled property

Specifies whether the rules in the specified validation rule set are checked when validation is triggered for the current document. Default is True. The value of the property is BOOL integer constant.

Type: int

RuleSet.RuleSetFlags property

Specifies whether the rule set appears in the Rules to Check list. The value of the property is BOOL integer constant.

Type: int

RuleSet.Rules property

Rule collection.

Type: RuleCollection