SessionObjectLayer.LoadDelayedPropertiesAsync(Session, IList, XPMemberInfo, CancellationToken) Method
Asynchronously loads data from a session to an object’s specific properties marked for delayed loading.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
session | Session | A Session that is used to retrieve data for delayed properties. |
objects | IList | A list of persistent objects that contain the delayed property specified by the property. |
property | XPMemberInfo | An XPMemberInfo object specifying a delayed property that accepts the data the LoadDelayedPropertiesAsync method loads. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
cancellationToken | CancellationToken | null | A CancellationToken object that delivers a cancellation notice to the running operation. |
Returns
Type | Description |
---|---|
Task<DevExpress.Xpo.Helpers.ObjectDictionary<Object>> | A Task that returns an array of loaded property values. |