Skip to main content
.NET 8.0+

ObjectChangeEventArgs(ObjectChangeReason) Constructor

In This Article
OBSOLETE

Use ObjectChangeEventArgs(Session session, object theObject, ObjectChangeReason reason) instead

Initializes a new instance of the ObjectChangeEventArgs class with the specified ObjectChangeEventArgs.Reason property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

[Obsolete("Use ObjectChangeEventArgs(Session session, object theObject, ObjectChangeReason reason) instead")]
public ObjectChangeEventArgs(
    ObjectChangeReason reason
)

#Parameters

Name Type Description
reason ObjectChangeReason

An ObjectChangeReason enumeration value which represents the way that the object has been changed. This value is assigned to the ObjectChangeEventArgs.Reason property.

See Also