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

 

Called when the role player has been changed.

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

protected:
virtual void OnRolePlayerChanged(
	DomainRoleInfo^ domainRole,
	ModelElement^ oldPlayer,
	ModelElement^ newPlayer,
	int linkIndex
)

Parameters

domainRole
Type: Microsoft.VisualStudio.Modeling::DomainRoleInfo^

DomainRoleInfo of the role that has changed.

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.

Return to top
Show: