.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IObjectSpace.GetObjects Method

Name Parameters Description
GetObjects(Type) type Retrieves objects of the specified type from the current Object Space. Returns an IList collection.
GetObjects(Type, CriteriaOperator) type, criteria Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
GetObjects(Type, CriteriaOperator, Boolean) type, criteria, inTransaction Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
GetObjects(Type, CriteriaOperator, IList<SortProperty>, Boolean) type, criteria, sorting, inTransaction Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
GetObjects<T>() none Retrieves objects of the specified type from the current Object Space. Returns an IList collection.
GetObjects<T>(CriteriaOperator) criteria Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
GetObjects<T>(CriteriaOperator, Boolean) criteria, inTransaction Returns an IList collection of objects via the current Object Space.
GetObjects<T>(CriteriaOperator, IList<SortProperty>, Boolean) criteria, sorting, inTransaction Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.