Partilhar via


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

Construtor

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Sintaxe

'Declaração
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
)

Parâmetros

  • elementId
    Tipo: System.Guid
    A identificação do ElementoModelo cujo valor do atributo alterado
  • oldValue
    Tipo: System.Object
    O valor do atributo antes da alteração
  • newValue
    Tipo: System.Object
    O valor do atributo após a alteração.

Segurança do .NET Framework

Consulte também

Referência

ElementPropertyChangedEventArgs Classe

Sobrecargas ElementPropertyChangedEventArgs

Namespace Microsoft.VisualStudio.Modeling