다음을 통해 공유


ModelElement.OnRolePlayerPositionChanged Method

Definition

Virtual method for notifying when role player position has changed.

protected public:
 virtual void OnRolePlayerPositionChanged(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ sourceRole, Microsoft::VisualStudio::Modeling::ElementLink ^ link, int oldPosition, int newPosition);
protected internal virtual void OnRolePlayerPositionChanged (Microsoft.VisualStudio.Modeling.DomainRoleInfo sourceRole, Microsoft.VisualStudio.Modeling.ElementLink link, int oldPosition, int newPosition);
abstract member OnRolePlayerPositionChanged : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink * int * int -> unit
override this.OnRolePlayerPositionChanged : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink * int * int -> unit
Protected Friend Overridable Sub OnRolePlayerPositionChanged (sourceRole As DomainRoleInfo, link As ElementLink, oldPosition As Integer, newPosition As Integer)

Parameters

sourceRole
DomainRoleInfo

Source role

link
ElementLink

Element link

oldPosition
Int32

old role player position

newPosition
Int32

new role player position

Applies to