The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CollectionSourceBase.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.v19.2.dll

Declaration

public virtual bool? IsObjectFitForCollection(
    object obj
)
Public Overridable Function IsObjectFitForCollection(
    obj As Object
) As Boolean?
public virtual bool? IsObjectFitForCollection(
    object obj
)
Public Overridable Function IsObjectFitForCollection(
    obj As Object
) As Boolean?
public virtual bool? IsObjectFitForCollection(
    object obj
)
Public Overridable Function IsObjectFitForCollection(
    obj As Object
) As Boolean?

Parameters

Name Type Description
obj Object

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

Parameters

Name Type Description
obj Object

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

Parameters

Name Type Description
obj Object

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

Returns

Type Description
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.

Returns

Type Description
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.

Returns

Type Description
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.

Remarks

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.

When implementing a custom Collection Source, override this method to determine whether the specified object satisfies the criteria contained in the Criteria dictionary.

This method is intended for internal use.

See Also