Skip to main content
A newer version of this page is available. .

FetchRowsEventArgs.Result Property

Gets or sets the result of the fetch rows operation.

Namespace: DevExpress.Xpf.Data

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public object[] Result { get; set; }

Property Value

Type Description
Object[]

The result of the fetch rows operation.

Remarks

The Result property’s type is an array. Arrays, unlike Enumerable objects, can be a storage for loaded items only, and do not support loading items on demand (as is possible with IEnumerable or IQueryable objects). Therefore, using an array guarantees that retrieved items are loaded immediately.

Refer to the Fetch Data and Enable Scrolling topic to learn more.

Note

The FetchRowsResult class has an implicit conversion operator:

public sealed class FetchRowsResult {
    public static implicit operator FetchRowsResult(object[] rows) {
        return new FetchRowsResult(rows, hasMoreRows: true);
    }
    // ...
}

This operator converts an array to a FetchRowsResult object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Result property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also