Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseObjectSpace.ReloadObject(Object) Method

Updates the specified object in the current Object Space with data from the data source.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public virtual object ReloadObject(
    object obj
)

#Parameters

Name Type Description
obj Object

An object which represents the persistent object whose state needs to be reloaded.

#Returns

Type Description
Object

The object specified by the obj parameter after it has been reloaded.

#Remarks

If the specified persistent object is a new object, the ReloadObject method does nothing. To ensure that the persistent object is not a new object, use the BaseObjectSpace.IsNewObject method.

See Also