Specifies the criteria applied to a specific object's associated collection property.
CriteriaOperator GetAssociatedCollectionCriteria( object obj, IMemberInfo memberInfo )
Function GetAssociatedCollectionCriteria( obj As Object, memberInfo As IMemberInfo ) As CriteriaOperator
An object whose collection property's criteria must be retrieved.
An IMemberInfo object supplying metadata on the associated collection property.
A CriteriaOperator object that is the criteria applied to the specified object's associated collection property.
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.