All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CompositeObjectSpace.ReloadObject(Object) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public override object ReloadObject(
    object obj
)
Public Overrides Function ReloadObject(
    obj As Object
) As Object

Parameters

Name Type Description
obj Object

An object to be reloaded from the data source.

Returns

Type Description
Object

The reloaded object.

Remarks

If the specified object is a new object, the ReloadObject method does nothing. To ensure that the object is not a new object, use the IsNewObject(Object) method.

If the specified object does not belong to the current Object Space, the ReloadObject method retrieves this object to the current Object Space, and then reloads its state.

A CannotReloadPurgedObjectException is thrown if the specified persistent object is deleted from the data store.

See Also