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

IObjectSpace.FindObject Method

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

Searches for the first object that matches the specified criteria and is of the specified type. The search takes uncommitted changes into account.

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

Searches for the first object that matches the specified criteria and is of the specified type.

FindObject<ObjectType>(CriteriaOperator) criteria

Searches for the first object that matches the specified criteria. The object's type is designated by the specified generic type parameter. The search takes uncommitted changes into account.

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

Searches for the first object that matches the specified criteria. The object's type is designated by the specified generic type parameter.