Share via


ElementDeletingEventArgs Constructor (IElementDirectory, DomainClassInfo, Guid, ChangeSource)

Note: This API is now obsolete.

Constructor

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

Syntax

'Declaration
<ObsoleteAttribute("Use constructor with TransactionContext parameter")> _
Public Sub New ( _
    directory As IElementDirectory, _
    domainClass As DomainClassInfo, _
    elementId As Guid, _
    changeSource As ChangeSource _
)

Parameters

  • elementId
    Type: Guid

    The Id of the deleted ModelElement

.NET Framework Security

See Also

Reference

ElementDeletingEventArgs Class

ElementDeletingEventArgs Overload

Microsoft.VisualStudio.Modeling Namespace