Partager via


ElementDeletingEventArgs Class

Definition

Event Arguments for notification of the pending removal of a ModelElement

public ref class ElementDeletingEventArgs : Microsoft::VisualStudio::Modeling::ElementEventArgs
public class ElementDeletingEventArgs : Microsoft.VisualStudio.Modeling.ElementEventArgs
type ElementDeletingEventArgs = class
    inherit ElementEventArgs
Public Class ElementDeletingEventArgs
Inherits ElementEventArgs
Inheritance

Constructors

ElementDeletingEventArgs(IElementDirectory, DomainClassInfo, Guid, ChangeSource)
Obsolete.

Constructor

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

Constructor

Properties

ChangeSource

Get or Set the source of this change

(Inherited from GenericEventArgs)
CustomStoredPropertyAssignments

Holds a list of PropertyAssignments for each custom stored attribute and its current value at the time it was deleted.

DomainClass

Get the domain class to which the notification pertains

(Inherited from ElementEventArgs)
DomainModel

Get the domain model to which the notification pertains

(Inherited from ElementEventArgs)
ElementId

Get the Id of the ModelElement to which the notification pertains

(Inherited from ElementEventArgs)
ModelElement

The ModelElement that is the subject of the notification

(Inherited from ElementEventArgs)
TransactionContext

Gets the TransactionContext associated with the event. May be null if no transaction context is available for the event.

(Inherited from ModelingEventArgs)

Applies to