ModelElement.OnRolePlayerPositionChanged(DomainRoleInfo, ElementLink, Int32, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Método virtual para notificar quando a posição do representante da função for alterada.
protected public:
virtual void OnRolePlayerPositionChanged(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ sourceRole, Microsoft::VisualStudio::Modeling::ElementLink ^ link, int oldPosition, int newPosition);
protected internal virtual void OnRolePlayerPositionChanged (Microsoft.VisualStudio.Modeling.DomainRoleInfo sourceRole, Microsoft.VisualStudio.Modeling.ElementLink link, int oldPosition, int newPosition);
abstract member OnRolePlayerPositionChanged : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink * int * int -> unit
override this.OnRolePlayerPositionChanged : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink * int * int -> unit
Protected Friend Overridable Sub OnRolePlayerPositionChanged (sourceRole As DomainRoleInfo, link As ElementLink, oldPosition As Integer, newPosition As Integer)
Parâmetros
- sourceRole
- DomainRoleInfo
Função de origem
- link
- ElementLink
Link do elemento
- oldPosition
- Int32
posição antiga do representante da função
- newPosition
- Int32
nova posição do representante da função