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

ObjectChangeEventArgs(String, Object, Object) Constructor

OBSOLETE

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

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

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

Parameters

Name Type Description
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.

oldValue Object

An object which represents the old value.

newValue Object

An object which represents the new value.

See Also