Skip to main content
.NET 6.0+

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.v24.1.dll

NuGet Package: DevExpress.Xpo

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