Skip to main content
.NET 8.0+

BaseObjectSpace.CreateCollection Method

Name Parameters Description
CreateCollection(Type, CriteriaOperator, IList<SortProperty>) objectType, criteria, sorting Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria and sorted according to the given sorting list.
CreateCollection(Type, CriteriaOperator) objectType, criteria Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria.
CreateCollection(Type) objectType Creates and initializes a collection of objects of the specified type.