ModelElement.OnRolePlayerPositionChanging Method
Called when a role player position is about to change.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
protected internal virtual void OnRolePlayerPositionChanging( 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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.