ModelElement.OnRolePlayerPositionChanged(DomainRoleInfo, ElementLink, Int32, Int32) Метод

Определение

Виртуальный метод для уведомления об изменении расположения исполнителя роли.

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)

Параметры

sourceRole
DomainRoleInfo

Исходная роль

link
ElementLink

Ссылка на элемент

oldPosition
Int32

старое расположение исполнителя роли

newPosition
Int32

новое расположение исполнителя роли

Применяется к