Partilhar via


Construtor ElementAddedEventArgs (IElementDirectory, DomainClassInfo, Guid, array<PropertyAssignment , 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, _
    domainClass As DomainClassInfo, _
    elementId As Guid, _
    assignments As PropertyAssignment(), _
    changeSource As ChangeSource, _
    transactionContext As TransactionContext _
)
public ElementAddedEventArgs(
    IElementDirectory directory,
    DomainClassInfo domainClass,
    Guid elementId,
    PropertyAssignment[] assignments,
    ChangeSource changeSource,
    TransactionContext transactionContext
)

Parâmetros

  • elementId
    Tipo: System.Guid
    A identificação do que o novo ModelElement

Comentários

O construtor

Segurança do .NET Framework

Consulte também

Referência

ElementAddedEventArgs Classe

Sobrecargas ElementAddedEventArgs

Namespace Microsoft.VisualStudio.Modeling