ElementLink.OnRolePlayerChanging Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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