Partilhar via


ElementAddedEventArgs Class

Definition

Event Arguments for notification of the creation of a new ModelElement

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

Constructors

ElementAddedEventArgs(IElementDirectory, DomainClassInfo, Guid, PropertyAssignment[], ChangeSource, TransactionContext)

Constructor

ElementAddedEventArgs(IElementDirectory, DomainClassInfo, Guid, PropertyAssignment[], 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

(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)

Methods

GetAssignments()

Get the attribute assignments used when this element was created

Applies to