다음을 통해 공유


ElementPropertyChangedEventArgs Constructor (IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, ChangeSource, TransactionContext)

Constructor

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
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

  • 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

.NET Framework Security

See Also

Reference

ElementPropertyChangedEventArgs Class

ElementPropertyChangedEventArgs Overload

Microsoft.VisualStudio.Modeling Namespace