Back to Devexpress

IXPModificationsStore Interface

xpo-devexpress-dot-xpo-d607260e.md

latest1.8 KB
Original Source

IXPModificationsStore Interface

Implemented by classes that store information about the modified properties.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public interface IXPModificationsStore
vb
Public Interface IXPModificationsStore

The following members return IXPModificationsStore objects:

Remarks

To access a IXPModificationsStore storage for a given persistent object, use the static PersistentBase.GetModificationsStore method. Then, you can access the IXPModificationsStore methods. For example:

csharp
XPMemberInfo miContactTitle = person.ClassInfo.GetMember("ContactTitle");
IXPModificationsStore ms = PersistentBase.GetModificationsStore(person);
var oldValue = ms.GetPropertyOldValue(miContactTitle);
vb
Dim miContactTitle As XPMemberInfo = person.ClassInfo.GetMember("ContactTitle")
Dim ms As IXPModificationsStore = PersistentBase.GetModificationsStore(person)
Dim oldValue = ms.GetPropertyOldValue(miContactTitle)

See Also

IXPModificationsStore Members

DevExpress.Xpo Namespace