The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.