Condividi tramite


ElementAddedEventArgs Constructor (IElementDirectory, DomainClassInfo, Guid, array<PropertyAssignment , ChangeSource, TransactionContext)

Constructor

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Dichiarazione
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
)
public:
ElementAddedEventArgs(
    IElementDirectory^ directory, 
    DomainClassInfo^ domainClass, 
    Guid elementId, 
    array<PropertyAssignment^>^ assignments, 
    ChangeSource changeSource, 
    TransactionContext^ transactionContext
)
new : 
        directory:IElementDirectory * 
        domainClass:DomainClassInfo * 
        elementId:Guid * 
        assignments:PropertyAssignment[] * 
        changeSource:ChangeSource * 
        transactionContext:TransactionContext -> ElementAddedEventArgs
public function ElementAddedEventArgs(
    directory : IElementDirectory, 
    domainClass : DomainClassInfo, 
    elementId : Guid, 
    assignments : PropertyAssignment[], 
    changeSource : ChangeSource, 
    transactionContext : TransactionContext
)

Parameters

  • elementId
    Type: System.Guid
    The Id of the new ModelElement

Remarks

The Constructor

.NET Framework Security

See Also

Reference

ElementAddedEventArgs Class

ElementAddedEventArgs Overload

Microsoft.VisualStudio.Modeling Namespace