.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CodeRuleAttribute Properties

Applied to a validation rule. Specifies that the rule is intended for a particular business class and does not have a corresponding validation attribute.
Name Description
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
See Also