Udostępnij za pośrednictwem


ElementDeletedEventArgs Class

Definition

Event Arguments for notification of the removal of an ModelElement

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

Constructors

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

Constructor

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

Obsolete constructor

Properties

ChangeSource

Get or Set the source of this change

(Inherited from GenericEventArgs)
CustomStoredPropertyAssignments

Holds 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 deleted ModelElement

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