Skip to main content
A newer version of this page is available. .

IResourceStorageBase.Contains(Resource) Method

Determines whether the storage contains the specified resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.Core.dll

NuGet Packages: DevExpress.Scheduler.Core, DevExpress.WindowsDesktop.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