Skip to main content

IResourceStorageBase.Contains(Resource) Method

Determines whether the storage contains the specified resource.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

bool Contains(
    Resource resource
)

Parameters

Name Type Description
resource Resource

A Resource object to locate in the storage.

Returns

Type Description
Boolean

true if the storage contains the specified resource; otherwise, false.

Remarks

The storage searches for the specified resource in its collection of resources available via the Items property.

See Also