ElementDeletingEventArgs Constructor (IElementDirectory, DomainClassInfo, Guid, ChangeSource, TransactionContext)

Constructor

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

Syntax

'Declaration
Public Sub New ( _
    directory As IElementDirectory, _
    domainClass As DomainClassInfo, _
    elementId As Guid, _
    changeSource As ChangeSource, _
    transactionContext As TransactionContext _
)
public ElementDeletingEventArgs(
    IElementDirectory directory,
    DomainClassInfo domainClass,
    Guid elementId,
    ChangeSource changeSource,
    TransactionContext transactionContext
)
public:
ElementDeletingEventArgs(
    IElementDirectory^ directory, 
    DomainClassInfo^ domainClass, 
    Guid elementId, 
    ChangeSource changeSource, 
    TransactionContext^ transactionContext
)
new : 
        directory:IElementDirectory * 
        domainClass:DomainClassInfo * 
        elementId:Guid * 
        changeSource:ChangeSource * 
        transactionContext:TransactionContext -> ElementDeletingEventArgs
public function ElementDeletingEventArgs(
    directory : IElementDirectory, 
    domainClass : DomainClassInfo, 
    elementId : Guid, 
    changeSource : ChangeSource, 
    transactionContext : TransactionContext
)

Parameters

  • elementId
    Type: System.Guid

    The Id of the deleted ModelElement

.NET Framework Security

See Also

Reference

ElementDeletingEventArgs Class

ElementDeletingEventArgs Overload

Microsoft.VisualStudio.Modeling Namespace