Skip to main content
All docs
V25.1
  • .NET 8.0+

    DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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

    XPObjectSpace.LoadAsync(Object, CancellationToken) Method

    Asynchronously loads the specified XPCollection collection.

    Namespace: DevExpress.ExpressApp.Xpo

    Assembly: DevExpress.ExpressApp.Xpo.v25.1.dll

    NuGet Package: DevExpress.ExpressApp.Xpo

    #Declaration

    public Task LoadAsync(
        object collection,
        CancellationToken cancellationToken = default(CancellationToken)
    )

    #Parameters

    Name Type Description
    collection Object

    An XPCollection collection to be loaded.

    #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

    A Task object.

    See Also