Freigeben über


ElementPropertyChangedEventArgs Constructors

Definition

Overloads

ElementPropertyChangedEventArgs(IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, ChangeSource)
Obsolete.

Obsolete constructor

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

Constructor

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

Caution

Use constructor with TransactionContext parameter

Obsolete constructor

public:
 ElementPropertyChangedEventArgs(Microsoft::VisualStudio::Modeling::IElementDirectory ^ directory, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ domainProperty, Microsoft::VisualStudio::Modeling::DomainClassInfo ^ domainClass, Guid elementId, System::Object ^ oldValue, System::Object ^ newValue, Microsoft::VisualStudio::Modeling::ChangeSource changeSource);
[System.Obsolete("Use constructor with TransactionContext parameter")]
public ElementPropertyChangedEventArgs (Microsoft.VisualStudio.Modeling.IElementDirectory directory, Microsoft.VisualStudio.Modeling.DomainPropertyInfo domainProperty, Microsoft.VisualStudio.Modeling.DomainClassInfo domainClass, Guid elementId, object oldValue, object newValue, Microsoft.VisualStudio.Modeling.ChangeSource changeSource);
[<System.Obsolete("Use constructor with TransactionContext parameter")>]
new Microsoft.VisualStudio.Modeling.ElementPropertyChangedEventArgs : Microsoft.VisualStudio.Modeling.IElementDirectory * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Microsoft.VisualStudio.Modeling.DomainClassInfo * Guid * obj * obj * Microsoft.VisualStudio.Modeling.ChangeSource -> Microsoft.VisualStudio.Modeling.ElementPropertyChangedEventArgs
Public Sub New (directory As IElementDirectory, domainProperty As DomainPropertyInfo, domainClass As DomainClassInfo, elementId As Guid, oldValue As Object, newValue As Object, changeSource As ChangeSource)

Parameters

directory
IElementDirectory

The element directory in which the modified ModelElement may be found

domainProperty
DomainPropertyInfo

The domain propertywhose instance value changed

domainClass
DomainClassInfo

The domain class of the ModelElement whose attribute value changed

elementId
Guid

The Id of the ModelElement whose attribute value changed

oldValue
Object

The attribute value before the change

newValue
Object

The attribute value after the change

changeSource
ChangeSource

The source of this change

Attributes

Applies to

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

Constructor

public:
 ElementPropertyChangedEventArgs(Microsoft::VisualStudio::Modeling::IElementDirectory ^ directory, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ domainProperty, Microsoft::VisualStudio::Modeling::DomainClassInfo ^ domainClass, Guid elementId, System::Object ^ oldValue, System::Object ^ newValue, Microsoft::VisualStudio::Modeling::ChangeSource changeSource, Microsoft::VisualStudio::Modeling::TransactionContext ^ transactionContext);
public ElementPropertyChangedEventArgs (Microsoft.VisualStudio.Modeling.IElementDirectory directory, Microsoft.VisualStudio.Modeling.DomainPropertyInfo domainProperty, Microsoft.VisualStudio.Modeling.DomainClassInfo domainClass, Guid elementId, object oldValue, object newValue, Microsoft.VisualStudio.Modeling.ChangeSource changeSource, Microsoft.VisualStudio.Modeling.TransactionContext transactionContext);
new Microsoft.VisualStudio.Modeling.ElementPropertyChangedEventArgs : Microsoft.VisualStudio.Modeling.IElementDirectory * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Microsoft.VisualStudio.Modeling.DomainClassInfo * Guid * obj * obj * Microsoft.VisualStudio.Modeling.ChangeSource * Microsoft.VisualStudio.Modeling.TransactionContext -> Microsoft.VisualStudio.Modeling.ElementPropertyChangedEventArgs
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)

Parameters

directory
IElementDirectory

The element directory in which the modified ModelElement may be found

domainProperty
DomainPropertyInfo

The domain propertywhose instance value changed

domainClass
DomainClassInfo

The domain class of the ModelElement whose attribute value changed

elementId
Guid

The Id of the ModelElement whose attribute value changed

oldValue
Object

The attribute value before the change

newValue
Object

The attribute value after the change

changeSource
ChangeSource

The source of this change

transactionContext
TransactionContext

Context of transaction active when event fired

Applies to