Freigeben über


ElementDeletedEventArgs Constructor (IElementDirectory, DomainClassInfo, Guid, ChangeSource)

Note: This API is now obsolete.

Obsolete constructor

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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 _
)
[ObsoleteAttribute("Use constructor with TransactionContext parameter")]
public ElementDeletedEventArgs(
    IElementDirectory directory,
    DomainClassInfo domainClass,
    Guid elementId,
    ChangeSource changeSource
)
[ObsoleteAttribute(L"Use constructor with TransactionContext parameter")]
public:
ElementDeletedEventArgs(
    IElementDirectory^ directory, 
    DomainClassInfo^ domainClass, 
    Guid elementId, 
    ChangeSource changeSource
)
[<ObsoleteAttribute("Use constructor with TransactionContext parameter")>]
new : 
        directory:IElementDirectory * 
        domainClass:DomainClassInfo * 
        elementId:Guid * 
        changeSource:ChangeSource -> ElementDeletedEventArgs
public function ElementDeletedEventArgs(
    directory : IElementDirectory, 
    domainClass : DomainClassInfo, 
    elementId : Guid, 
    changeSource : ChangeSource
)

Parameters

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

.NET Framework Security

See Also

Reference

ElementDeletedEventArgs Class

ElementDeletedEventArgs Overload

Microsoft.VisualStudio.Modeling Namespace