次の方法で共有


ElementLink.OnRolePlayerChanging Method

Definition

Called when the role player will be changing

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

Parameters

domainRole
DomainRoleInfo

DomainRoleInfo of the role that is changing

oldPlayer
ModelElement

the old role player

newPlayer
ModelElement

the new role player

linkIndex
Int32

the link index

Applies to