RolePlayerOrderChangedEventArgs 构造函数

注意:此 API 现在已过时。

构造函数

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

语法

声明
<ObsoleteAttribute("This class is not intended for  public instantiation")> _
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 _
)
[ObsoleteAttribute("This class is not intended for  public instantiation")]
public RolePlayerOrderChangedEventArgs(
    IElementDirectory directory,
    Guid sourceElementId,
    DomainRoleInfo sourceDomainRole,
    Guid counterpartId,
    DomainRoleInfo counterpartRole,
    int oldOrdinal,
    int newOrdinal,
    ChangeSource changeSource,
    TransactionContext transactionContext
)

参数

  • sourceElementId
    类型:System.Guid
    源 ModelElement 的 ID。
  • counterpartId
    类型:System.Guid
    命令更改了 ModelElement 的 ID。
  • oldOrdinal
    类型:System.Int32
    在更改之前的 ModelElement 序号
  • newOrdinal
    类型:System.Int32
    在更改之后的 ModelElement 序号

.NET Framework 安全性

请参见

参考

RolePlayerOrderChangedEventArgs 类

Microsoft.VisualStudio.Modeling 命名空间