Freigeben über


ModelElement.OnRolePlayerPositionChanging Method

Definition

Virtual method for notifying when role player position will be changing.

protected public:
 virtual void OnRolePlayerPositionChanging(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ sourceRole, Microsoft::VisualStudio::Modeling::ElementLink ^ link, int oldPosition, int newPosition);
protected internal virtual void OnRolePlayerPositionChanging (Microsoft.VisualStudio.Modeling.DomainRoleInfo sourceRole, Microsoft.VisualStudio.Modeling.ElementLink link, int oldPosition, int newPosition);
abstract member OnRolePlayerPositionChanging : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink * int * int -> unit
override this.OnRolePlayerPositionChanging : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink * int * int -> unit
Protected Friend Overridable Sub OnRolePlayerPositionChanging (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