Compartilhar via


Método ModelElement.OnRolePlayerPositionChanging

Chamado quando a posição de uma player de função está prestes a alterar.

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

Sintaxe

'Declaração
Protected Friend Overridable Sub OnRolePlayerPositionChanging ( _
    sourceRole As DomainRoleInfo, _
    link As ElementLink, _
    oldPosition As Integer, _
    newPosition As Integer _
)
protected internal virtual void OnRolePlayerPositionChanging(
    DomainRoleInfo sourceRole,
    ElementLink link,
    int oldPosition,
    int newPosition
)

Parâmetros

  • oldPosition
    Tipo: System.Int32
    A posição de player de função antigo.
  • newPosition
    Tipo: System.Int32
    A nova posição de player de função.

Segurança do .NET Framework

Consulte também

Referência

ModelElement Classe

Namespace Microsoft.VisualStudio.Modeling