ModelElement::OnRolePlayerPositionChanged Method (DomainRoleInfo^, ElementLink^, Int32, Int32)
Visual Studio 2015
Called when the position of a role has changed.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public protected: virtual void OnRolePlayerPositionChanged( DomainRoleInfo^ sourceRole, ElementLink^ link, int oldPosition, int newPosition )
Parameters
- sourceRole
-
Type:
Microsoft.VisualStudio.Modeling::DomainRoleInfo^
The source role.
- link
-
Type:
Microsoft.VisualStudio.Modeling::ElementLink^
The element link.
- oldPosition
-
Type:
System::Int32
The old role player position.
- newPosition
-
Type:
System::Int32
The new role player position.
Show: