共用方式為


ElementPropertyChangedEventArgs Class

Definition

Event Arguments for notifications that the value of an attribute has changed

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

Constructors

ElementPropertyChangedEventArgs(IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, ChangeSource, TransactionContext)

Constructor

ElementPropertyChangedEventArgs(IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, 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)
DomainProperty

The domain propertywhose instance value has changed

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

The value of the attribute after the change

OldValue

The value of the attribute before the change

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