Share via


ElementLink.OnRolePlayerChanged Method

Definition

Called when the role player has be changed

protected:
 virtual void OnRolePlayerChanged(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ domainRole, Microsoft::VisualStudio::Modeling::ModelElement ^ oldPlayer, Microsoft::VisualStudio::Modeling::ModelElement ^ newPlayer, int linkIndex);
protected virtual void OnRolePlayerChanged (Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, Microsoft.VisualStudio.Modeling.ModelElement oldPlayer, Microsoft.VisualStudio.Modeling.ModelElement newPlayer, int linkIndex);
abstract member OnRolePlayerChanged : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement * int -> unit
override this.OnRolePlayerChanged : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement * int -> unit
Protected Overridable Sub OnRolePlayerChanged (domainRole As DomainRoleInfo, oldPlayer As ModelElement, newPlayer As ModelElement, linkIndex As Integer)

Parameters

domainRole
DomainRoleInfo

DomainRoleInfo of the role that has changed

oldPlayer
ModelElement

the old role player

newPlayer
ModelElement

the new role player

linkIndex
Int32

the link index

Applies to