Skip to main content
.NET 6.0+

ObjectChangeEventArgs Members

Provides data for the XPBaseObject.Changed and Session.ObjectChanged events.

Constructors

Name Description
ObjectChangeEventArgs(ObjectChangeReason, String) Obsolete. Initializes a new instance of the ObjectChangeEventArgs class with the specified ObjectChangeEventArgs.Reason and ObjectChangeEventArgs.PropertyName properties.
ObjectChangeEventArgs(ObjectChangeReason) Obsolete. Initializes a new instance of the ObjectChangeEventArgs class with the specified ObjectChangeEventArgs.Reason property.
ObjectChangeEventArgs(Session, Object, ObjectChangeReason, String, Object, Object) Initializes a new instance of the ObjectChangeEventArgs class with the specified parameters.
ObjectChangeEventArgs(Session, Object, ObjectChangeReason) Initializes a new instance of the ObjectChangeEventArgs class with the specified parameters.
ObjectChangeEventArgs(Session, Object, String, Object, Object) Initializes a new instance of the ObjectChangeEventArgs class with the specified parameters.
ObjectChangeEventArgs(String, Object, Object) Obsolete. Initializes a new instance of the ObjectChangeEventArgs class with the specified properties.

Fields

Name Description
DisableObjectChangeEventArgsCache static
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
NewValue Gets or sets the property’s new value.
Object Gets or sets the object whose property has been changed.
OldValue Gets or sets the property’s old value.
PropertyName Gets the name of the property affected by the changes made.
Reason Gets the way in which the object has been changed.
Session Gets or sets the Session of the object whose property has been changed.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also