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

BaseObjectSpace.FindObject Method

Name Parameters Description
FindObject(Type, CriteriaOperator) objectType, criteria

Searches for the first object of the specified type, matching the specified criteria.

FindObject(Type, CriteriaOperator, Boolean) objectType, criteria, inTransaction

Searches for the first object of the specified type, matching the specified criteria.

FindObject<ObjectType>(CriteriaOperator) criteria

Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.

FindObject<ObjectType>(CriteriaOperator, Boolean) criteria, inTransaction

Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.