RuleOnAttribute Class

Signifies that the class to which this attribute is applied is a rule.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
Public NotInheritable Class RuleOnAttribute _
    Inherits Attribute
'Usage
Dim instance As RuleOnAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class RuleOnAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
public ref class RuleOnAttribute sealed : public Attribute
public final class RuleOnAttribute extends Attribute

Remarks

The type of rule is determined by its base class. For example, AddRule, ChangeRule, DeleteRule.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Modeling.RuleOnAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RuleOnAttribute Members

Microsoft.VisualStudio.Modeling Namespace