.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

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.v20.1.dll

Declaration

public XPCursor(
    Type objType,
    CriteriaOperator theCriteria,
    params SortProperty[] sortProperties
)
Public Sub New(
    objType As Type,
    theCriteria As CriteriaOperator,
    ParamArray sortProperties As SortProperty()
)

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