Share via


RolePlayerOrderChangedEventArgs Constructor

Definition

Caution

This class is not intended for public instantiation

Constructor

public:
 RolePlayerOrderChangedEventArgs(Microsoft::VisualStudio::Modeling::IElementDirectory ^ directory, Guid sourceElementId, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ sourceDomainRole, Guid counterpartId, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ counterpartRole, int oldOrdinal, int newOrdinal, Microsoft::VisualStudio::Modeling::ChangeSource changeSource, Microsoft::VisualStudio::Modeling::TransactionContext ^ transactionContext);
[System.Obsolete("This class is not intended for  public instantiation")]
public RolePlayerOrderChangedEventArgs (Microsoft.VisualStudio.Modeling.IElementDirectory directory, Guid sourceElementId, Microsoft.VisualStudio.Modeling.DomainRoleInfo sourceDomainRole, Guid counterpartId, Microsoft.VisualStudio.Modeling.DomainRoleInfo counterpartRole, int oldOrdinal, int newOrdinal, Microsoft.VisualStudio.Modeling.ChangeSource changeSource, Microsoft.VisualStudio.Modeling.TransactionContext transactionContext);
[<System.Obsolete("This class is not intended for  public instantiation")>]
new Microsoft.VisualStudio.Modeling.RolePlayerOrderChangedEventArgs : Microsoft.VisualStudio.Modeling.IElementDirectory * Guid * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Guid * Microsoft.VisualStudio.Modeling.DomainRoleInfo * int * int * Microsoft.VisualStudio.Modeling.ChangeSource * Microsoft.VisualStudio.Modeling.TransactionContext -> Microsoft.VisualStudio.Modeling.RolePlayerOrderChangedEventArgs
Public Sub New (directory As IElementDirectory, sourceElementId As Guid, sourceDomainRole As DomainRoleInfo, counterpartId As Guid, counterpartRole As DomainRoleInfo, oldOrdinal As Integer, newOrdinal As Integer, changeSource As ChangeSource, transactionContext As TransactionContext)

Parameters

directory
IElementDirectory

The element directory in which to look up the relevent Elements and ElementLinks

sourceElementId
Guid

The Id of the source ModelElement

sourceDomainRole
DomainRoleInfo

The domain role played by the source ModelElement

counterpartId
Guid

The Id of the ModelElement whose order has changed

counterpartRole
DomainRoleInfo

The domain role played by the ModelElement whose order has changed

oldOrdinal
Int32

The ModelElement ordinal before the change

newOrdinal
Int32

The ModelElement ordinal after the change

changeSource
ChangeSource

The source for this change

transactionContext
TransactionContext

Context of transaction active when event fired

Attributes

Applies to