Skip to main content
A newer version of this page is available. .

ObjectChangeEventArgs(ObjectChangeReason, String) Constructor

OBSOLETE

Use ObjectChangeEventArgs(Session session, object theObject, ObjectChangeReason reason, string propertyName, object oldValue, object newValue) instead

Initializes a new instance of the ObjectChangeEventArgs class with the specified ObjectChangeEventArgs.Reason and ObjectChangeEventArgs.PropertyName properties.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

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

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.

propertyName String

A String value which specifies the name of the property whose value has been changed. This value is assigned to the ObjectChangeEventArgs.PropertyName property.

See Also