ElementPropertyChangedEventArgs Constructor (IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, ChangeSource, TransactionContext)
Constructor
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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
)
public:
ElementPropertyChangedEventArgs(
IElementDirectory^ directory,
DomainPropertyInfo^ domainProperty,
DomainClassInfo^ domainClass,
Guid elementId,
Object^ oldValue,
Object^ newValue,
ChangeSource changeSource,
TransactionContext^ transactionContext
)
new :
directory:IElementDirectory *
domainProperty:DomainPropertyInfo *
domainClass:DomainClassInfo *
elementId:Guid *
oldValue:Object *
newValue:Object *
changeSource:ChangeSource *
transactionContext:TransactionContext -> ElementPropertyChangedEventArgs
public function ElementPropertyChangedEventArgs(
directory : IElementDirectory,
domainProperty : DomainPropertyInfo,
domainClass : DomainClassInfo,
elementId : Guid,
oldValue : Object,
newValue : Object,
changeSource : ChangeSource,
transactionContext : TransactionContext
)
Parameters
- directory
Type: Microsoft.VisualStudio.Modeling.IElementDirectory
The element directory in which the modified ModelElement may be found
- domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
The domain propertywhose instance value changed
- domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
The domain class of the ModelElement whose attribute value changed
- elementId
Type: System.Guid
The Id of the ModelElement whose attribute value changed
- oldValue
Type: System.Object
The attribute value before the change
- newValue
Type: System.Object
The attribute value after the change
- changeSource
Type: Microsoft.VisualStudio.Modeling.ChangeSource
The source of this change
- transactionContext
Type: Microsoft.VisualStudio.Modeling.TransactionContext
Context of transaction active when event fired
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ElementPropertyChangedEventArgs Class