ElementLink::OnRolePlayerChanging Method (DomainRoleInfo^, ModelElement^, ModelElement^, Int32)
Visual Studio 2015
Called when the role player will be changed.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
protected: virtual void OnRolePlayerChanging( DomainRoleInfo^ domainRole, ModelElement^ oldPlayer, ModelElement^ newPlayer, int linkIndex )
Parameters
- domainRole
-
Type:
Microsoft.VisualStudio.Modeling::DomainRoleInfo^
DomainRoleInfo of the role that is changing.
- oldPlayer
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The old role player.
- newPlayer
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The new role player.
- linkIndex
-
Type:
System::Int32
The link index.
Show: