PropertyCollectionSource.IsObjectFitForCollection(Object) Method

Tries to determine whether the specified object satisfies the criteria contained in the CollectionSourceBase.Criteria dictionary.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public override bool ? IsObjectFitForCollection(
    object obj
)
Public Overrides Function IsObjectFitForCollection(
    obj As Object
) As Boolean?

Parameters

Type Name Description
Object obj

An object that must be checked against the criteria contained in the Criteria dictionary.

Returns

Type Description
System.Nullable<Boolean>

true if the specified object satisfies the criteria contained in the Criteria dictionary; false if the object does not satisfies the criteria; null if it cannot be determined.

This method returns a Nullable<Boolean>-type value. So, it can actually return null (Nothing in VB) if the specified object cannot be checked against the criteria contained in the Criteria dictionary.

This method is intended for internal use.

See Also