ModelElement::OnRolePlayerPositionChanging Method (DomainRoleInfo^, ElementLink^, Int32, Int32)

 

Called when a role player position is about to change.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public protected:
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.

Return to top
Show: