ModelElement.OnRolePlayerPositionChanging Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Virtual method for notifying when role player position will be changing.
protected public:
virtual void OnRolePlayerPositionChanging(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ sourceRole, Microsoft::VisualStudio::Modeling::ElementLink ^ link, int oldPosition, int newPosition);
protected internal virtual void OnRolePlayerPositionChanging (Microsoft.VisualStudio.Modeling.DomainRoleInfo sourceRole, Microsoft.VisualStudio.Modeling.ElementLink link, int oldPosition, int newPosition);
abstract member OnRolePlayerPositionChanging : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink * int * int -> unit
override this.OnRolePlayerPositionChanging : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink * int * int -> unit
Protected Friend Overridable Sub OnRolePlayerPositionChanging (sourceRole As DomainRoleInfo, link As ElementLink, oldPosition As Integer, newPosition As Integer)
Parameters
- sourceRole
- DomainRoleInfo
Source role
- link
- ElementLink
Element link
- oldPosition
- Int32
old role player position
- newPosition
- Int32
new role player position