Bagikan melalui


ElementLink.OnRolePlayerChanged Method

Called when the role player has been changed.

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

Syntax

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

Parameters

  • linkIndex
    Type: Int32

    The link index.

.NET Framework Security

See Also

Reference

ElementLink Class

Microsoft.VisualStudio.Modeling Namespace