Back to Devexpress

IObjectSpace.GetAssociatedCollectionCriteria(Object, IMemberInfo) Method

expressappframework-devexpress-dot-expressapp-dot-iobjectspace-dot-getassociatedcollectioncriteria-x28-system-dot-object-devexpress-dot-expressapp-dot-dc-dot-imemberinfo-x29.md

latest2.5 KB
Original Source

IObjectSpace.GetAssociatedCollectionCriteria(Object, IMemberInfo) Method

Specifies the criteria applied to a specific object’s associated collection property.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
CriteriaOperator GetAssociatedCollectionCriteria(
    object obj,
    IMemberInfo memberInfo
)
vb
Function GetAssociatedCollectionCriteria(
    obj As Object,
    memberInfo As IMemberInfo
) As CriteriaOperator

Parameters

NameTypeDescription
objObject

An object whose collection property’s criteria must be retrieved.

| | memberInfo | IMemberInfo |

An IMemberInfo object supplying metadata on the associated collection property.

|

Returns

TypeDescription
CriteriaOperator

A CriteriaOperator object that is the criteria applied to the specified object’s associated collection property.

|

Remarks

When implementing the IObjectSpace interface in the BaseObjectSpace class’s descendant, you don’t have to implement the GetAssociatedCollectionCriteria method. It’s implemented by the BaseObjectSpace class. However, you can override the BaseOBjectSpace.GetAssociatedCollectionCriteriaCore method, which is invoked by the BaseObjectSpace.GetAssociatedCollectionCriteria method, if you need to replace the base implementation with a custom one.

See Also

IObjectSpace Interface

IObjectSpace Members

DevExpress.ExpressApp Namespace