Compartir a través de


ElementLink.OnRolePlayerChanging Method

Called when the role player will be changed.

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

Syntax

'Declaration
Protected Overridable Sub OnRolePlayerChanging ( _
    domainRole As DomainRoleInfo, _
    oldPlayer As ModelElement, _
    newPlayer As ModelElement, _
    linkIndex As Integer _
)
protected virtual void OnRolePlayerChanging(
    DomainRoleInfo domainRole,
    ModelElement oldPlayer,
    ModelElement newPlayer,
    int linkIndex
)
protected:
virtual void OnRolePlayerChanging(
    DomainRoleInfo^ domainRole, 
    ModelElement^ oldPlayer, 
    ModelElement^ newPlayer, 
    int linkIndex
)
abstract OnRolePlayerChanging : 
        domainRole:DomainRoleInfo * 
        oldPlayer:ModelElement * 
        newPlayer:ModelElement * 
        linkIndex:int -> unit  
override OnRolePlayerChanging : 
        domainRole:DomainRoleInfo * 
        oldPlayer:ModelElement * 
        newPlayer:ModelElement * 
        linkIndex:int -> unit
protected function OnRolePlayerChanging(
    domainRole : DomainRoleInfo, 
    oldPlayer : ModelElement, 
    newPlayer : ModelElement, 
    linkIndex : int
)

Parameters

.NET Framework Security

See Also

Reference

ElementLink Class

Microsoft.VisualStudio.Modeling Namespace