Rule Class

Represents a single validation rule in a diagram validation rule set.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramRule

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.6.0.0 (20.6)
Syntax
public class Rule

The Rule type exposes the following members.

Constructors
  NameDescription
Public methodRule
Constructor.
Properties
  NameDescription
Public propertyCategory
Specifies the text displayed in the Category column of the Issues window. Default is an empty string.
Public propertyDescription
the description of the validation rule that appears in the user interface. Default is "Unknown".
Public propertyID
Specifies the unique identifier of the validation rule.
Public propertyIgnored
Specifies whether the validation rule is currently ignored. Default is False.
Public propertyNameU
Specifies the universal name of the validation rule.
Public propertyRuleTarget
Specifies the type of object to which the validation rule applies.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Fields
  NameDescription
Public fieldRuleFilter
Specifies the logical expression that determines whether the validation rule should be applied to a target object.
Public fieldRuleTest
Specifies the logical expression that determines whether the target object satisfies the validation rule
See Also