Skip to main content
.NET 8.0+

IObjectSpace.FindObject Method

Name Parameters Description
FindObject(Type, CriteriaOperator, Boolean) objectType, criteria, inTransaction Searches for the first object that matches the specified criteria and is of the specified type.
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<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.
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.