ElementPropertyChangedEventArgs 构造函数 (IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, ChangeSource)

注意:此 API 现在已废弃不用。

过时的构造函数

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

语法

声明
<ObsoleteAttribute("Use constructor with TransactionContext parameter")> _
Public Sub New ( _
    directory As IElementDirectory, _
    domainProperty As DomainPropertyInfo, _
    domainClass As DomainClassInfo, _
    elementId As Guid, _
    oldValue As Object, _
    newValue As Object, _
    changeSource As ChangeSource _
)
[ObsoleteAttribute("Use constructor with TransactionContext parameter")]
public ElementPropertyChangedEventArgs(
    IElementDirectory directory,
    DomainPropertyInfo domainProperty,
    DomainClassInfo domainClass,
    Guid elementId,
    Object oldValue,
    Object newValue,
    ChangeSource changeSource
)

参数

  • elementId
    类型:System.Guid
    特性值已更改的 ModelElement 的 Id
  • newValue
    类型:System.Object
    发生更改之后的特性值。

.NET Framework 安全性

请参阅

参考

ElementPropertyChangedEventArgs 类

ElementPropertyChangedEventArgs 重载

Microsoft.VisualStudio.Modeling 命名空间