A newer version of this page is available. Switch to the current version.

IObjectSpace.CreateCollection Method

Name Parameters Description
CreateCollection(Type) objectType Creates and initializes a collection of objects of the specified type.
CreateCollection(Type, CriteriaOperator) objectType, criteria Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria.
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.