ElementPropertyChangedEventArgs Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
ElementPropertyChangedEventArgs(IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, ChangeSource)
Achtung
Use constructor with TransactionContext parameter
Veralteter Konstruktor
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)
Parameter
- directory
- IElementDirectory
Das Element Verzeichnis, in dem sich das geänderte ModelElement befinden kann.
- domainProperty
- DomainPropertyInfo
Die Domäne, deren Instanzwert geändert wurde.
- domainClass
- DomainClassInfo
Die Domänen Klasse des ModelElement-Elements, dessen Attribut Wert geändert wurde.
- elementId
- Guid
Die ID des ModelElement-Elements, dessen Attribut Wert geändert wurde.
- oldValue
- Object
Der Attribut Wert vor der Änderung.
- newValue
- Object
Der Attribut Wert nach der Änderung.
- changeSource
- ChangeSource
Die Quelle dieser Änderung.
- Attribute
Gilt für
ElementPropertyChangedEventArgs(IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, ChangeSource, TransactionContext)
Konstruktor
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)
Parameter
- directory
- IElementDirectory
Das Element Verzeichnis, in dem sich das geänderte ModelElement befinden kann.
- domainProperty
- DomainPropertyInfo
Die Domäne, deren Instanzwert geändert wurde.
- domainClass
- DomainClassInfo
Die Domänen Klasse des ModelElement-Elements, dessen Attribut Wert geändert wurde.
- elementId
- Guid
Die ID des ModelElement-Elements, dessen Attribut Wert geändert wurde.
- oldValue
- Object
Der Attribut Wert vor der Änderung.
- newValue
- Object
Der Attribut Wert nach der Änderung.
- changeSource
- ChangeSource
Die Quelle dieser Änderung.
- transactionContext
- TransactionContext
Kontext der aktiven Transaktion beim Auslösen des Ereignisses