Share via


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

Note: This API is now obsolete.

Obsolete constructor

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

Syntax

'Declaration
<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
)
[ObsoleteAttribute(L"Use constructor with TransactionContext parameter")]
public:
ElementPropertyChangedEventArgs(
    IElementDirectory^ directory, 
    DomainPropertyInfo^ domainProperty, 
    DomainClassInfo^ domainClass, 
    Guid elementId, 
    Object^ oldValue, 
    Object^ newValue, 
    ChangeSource changeSource
)
[<ObsoleteAttribute("Use constructor with TransactionContext parameter")>]
new : 
        directory:IElementDirectory * 
        domainProperty:DomainPropertyInfo * 
        domainClass:DomainClassInfo * 
        elementId:Guid * 
        oldValue:Object * 
        newValue:Object * 
        changeSource:ChangeSource -> ElementPropertyChangedEventArgs
public function ElementPropertyChangedEventArgs(
    directory : IElementDirectory, 
    domainProperty : DomainPropertyInfo, 
    domainClass : DomainClassInfo, 
    elementId : Guid, 
    oldValue : Object, 
    newValue : Object, 
    changeSource : ChangeSource
)

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