Compartir a través de


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

Public MustInherit Class RolePlayerPositionChangeRule _
    Inherits Rule

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

Concepts

How to: Create Custom Rules

Reference

RolePlayerPositionChangeRule Members

Microsoft.VisualStudio.Modeling Namespace