Compartilhar via


ElementEventArgs Class

Definition

Event arguments for notifications associated with an ModelElement

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

Constructors

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

Constructor

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

Obsolete constructor

Properties

ChangeSource

Get or Set the source of this change

(Inherited from GenericEventArgs)
DomainClass

Get the domain class to which the notification pertains

DomainModel

Get the domain model to which the notification pertains

ElementId

Get the Id of the ModelElement to which the notification pertains

ModelElement

The ModelElement that is the subject of the notification

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