Skip to main content
.NET 6.0+

XPCursor(Type, CriteriaOperator, SortProperty[]) Constructor

Initializes a new instance of the XPCursor class with default Session and criteria-specific options.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPCursor(
    Type objType,
    CriteriaOperator theCriteria,
    params SortProperty[] sortProperties
)

Parameters

Name Type Description
objType Type

The type of persistent objects to include into the collection.

theCriteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria.

sortProperties SortProperty[]

An array of SortProperty objects that specify the page able collection’s sort order. These objects are added to the XPCursor.Sorting collection.

See Also