Partager via


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

Remarque : cette API est maintenant obsolète.

Constructeur obsolète

Espace de noms :  Microsoft.VisualStudio.Modeling
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntaxe

'Déclaration
<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
)

Paramètres

  • elementId
    Type : System.Guid
    L'identificateur du ModelElement dont la valeur d'attribut a changé
  • oldValue
    Type : System.Object
    La valeur d'attribut avant la modification
  • newValue
    Type : System.Object
    La valeur d'attribut après la modification

Sécurité .NET Framework

Voir aussi

Référence

ElementPropertyChangedEventArgs Classe

ElementPropertyChangedEventArgs, surcharge

Microsoft.VisualStudio.Modeling, espace de noms