The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v19.2.dll

Declaration

public virtual object ReloadObject(
    object obj
)
Public Overridable Function ReloadObject(
    obj As Object
) As Object
public virtual object ReloadObject(
    object obj
)
Public Overridable Function ReloadObject(
    obj As Object
) As Object
public virtual object ReloadObject(
    object obj
)
Public Overridable Function ReloadObject(
    obj As Object
) As Object

Parameters

Name Type Description
obj Object

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

Parameters

Name Type Description
obj Object

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

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.

Returns

Type Description
Object

The object specified by the obj parameter after it has been 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