Skip to main content

BaseObjectSpace.GetObjectsCriteria(ITypeInfo, IList) Method

Constructs a criteria that can be used to select the specified list of business objects.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v26.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public CriteriaOperator GetObjectsCriteria(
    ITypeInfo objectTypeInfo,
    IList objects
)

Parameters

Name Type Description
objectTypeInfo ITypeInfo

An ITypeInfo object that provides metadata on the business object’s type.

objects IList

An IList collection of business objects.

Returns

Type Description
CriteriaOperator

A CriteriaOperator object which is a criterion that can be used to select the specified list of objects.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetObjectsCriteria(ITypeInfo, IList) method.

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