构造函数
命名空间: Microsoft.VisualStudio.Modeling
程序集: Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
语法
声明
Public Sub New ( _
directory As IElementDirectory, _
domainProperty As DomainPropertyInfo, _
domainClass As DomainClassInfo, _
elementId As Guid, _
oldValue As Object, _
newValue As Object, _
changeSource As ChangeSource, _
transactionContext As TransactionContext _
)
public ElementPropertyChangedEventArgs(
IElementDirectory directory,
DomainPropertyInfo domainProperty,
DomainClassInfo domainClass,
Guid elementId,
Object oldValue,
Object newValue,
ChangeSource changeSource,
TransactionContext transactionContext
)
参数
- directory
类型:Microsoft.VisualStudio.Modeling.IElementDirectory
可能找到修订了的 ModelElement 的元素目录
- domainProperty
类型:Microsoft.VisualStudio.Modeling.DomainPropertyInfo
其实例值更改的域属性
- domainClass
类型:Microsoft.VisualStudio.Modeling.DomainClassInfo
特性值已更改的 ModelElement 的域类
- elementId
类型:System.Guid
特性值已更改的 ModelElement 的 Id
- oldValue
类型:System.Object
发生更改之前的特性值
- newValue
类型:System.Object
发生更改之后的特性值。
- changeSource
类型:Microsoft.VisualStudio.Modeling.ChangeSource
此变化的源
- transactionContext
类型:Microsoft.VisualStudio.Modeling.TransactionContext
当引发事件时,事务的上下文处于激活状态
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。
请参阅
参考
ElementPropertyChangedEventArgs 类