RolePlayerChangedEventArgs 构造函数 (IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource, TransactionContext)

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

语法

声明
Public Sub New ( _
    directory As IElementDirectory, _
    domainRole As DomainRoleInfo, _
    elementLinkId As Guid, _
    oldRolePlayerId As Guid, _
    newRolePlayerId As Guid, _
    changeSource As ChangeSource, _
    transactionContext As TransactionContext _
)
public RolePlayerChangedEventArgs(
    IElementDirectory directory,
    DomainRoleInfo domainRole,
    Guid elementLinkId,
    Guid oldRolePlayerId,
    Guid newRolePlayerId,
    ChangeSource changeSource,
    TransactionContext transactionContext
)

参数

  • elementLinkId
    类型:System.Guid
    角色扮演者改变的 ElementLink 的 Id
  • oldRolePlayerId
    类型:System.Guid
    在更改前扮演角色 ModelElement 的 ID
  • newRolePlayerId
    类型:System.Guid
    在更改后扮演角色 ModelElement 的 ID

.NET Framework 安全性

请参阅

参考

RolePlayerChangedEventArgs 类

RolePlayerChangedEventArgs 重载

Microsoft.VisualStudio.Modeling 命名空间