Skip to main content

ResourceBaseCollection.FindAll(Predicate<Resource>) Method

Finds all elements with a predicate match and returns them in a list collection.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public ResourceBaseCollection FindAll(
    Predicate<Resource> match
)

Parameters

Name Type Description
match Predicate<Resource>

A predicate method delegate, which returns true if there’s a match and the element is found.

Returns

Type Description
ResourceBaseCollection

An ResourceBaseCollection object, representing a collection of items that meets the criteria

Remarks

The FindAll returns a list of all elements satisfying the criteria expressed in a predicate method. Use it to iterate filtered resources only.

For an example of use see the AppointmentBaseCollection.FindAll description.

See Also