RolePlayerOrderChangedEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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")]
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)
参数
- directory
- IElementDirectory
要在其中查找相关元素和 ElementLinks 的元素目录
- sourceElementId
- Guid
源 ModelElement 的 Id
- sourceDomainRole
- DomainRoleInfo
源 ModelElement 所扮演的域角色
- counterpartId
- Guid
其顺序已更改的 ModelElement 的 Id
- counterpartRole
- DomainRoleInfo
其顺序已更改的 ModelElement 所扮演的域角色
- oldOrdinal
- Int32
更改前的 ModelElement 序号
- newOrdinal
- Int32
更改后的 ModelElement 序号
- changeSource
- ChangeSource
此更改的源
- transactionContext
- TransactionContext
触发事件时活动的事务上下文
- 属性