Declares members implemented by Validation Rules.
public interface IRule
Public Interface IRule
When implementing a custom Validation Rule, it is generally easier to inherit from the RuleBase class instead of implementing the IRule interface. To see an example of implementing a custom Validation Rule, refer to the Implement Custom Rules topic.