Share via


RolePlayerPositionChangeRule Class

Represents a rule that is called when a model element that is assigned to a specific role changes position in the model.

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

Syntax

'Declaration
Public MustInherit Class RolePlayerPositionChangeRule _
    Inherits Rule
'Usage
Dim instance As RolePlayerPositionChangeRule
public abstract class RolePlayerPositionChangeRule : Rule
public ref class RolePlayerPositionChangeRule abstract : public Rule
public abstract class RolePlayerPositionChangeRule extends Rule

Remarks

A RuleOnAttribute attribute indicates the type of element the rule works on and when the rule should be raised.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Rule
    Microsoft.VisualStudio.Modeling.RolePlayerPositionChangeRule

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

RolePlayerPositionChangeRule Members

Microsoft.VisualStudio.Modeling Namespace

Other Resources

How to: Create Custom Rules