Indicates whether the item is associated with the specified resource.
Namespace:DevExpress.Xpf.Scheduling
Assembly:DevExpress.Xpf.Scheduling.v19.2.dll

Syntax
C# |
public bool HasResource(
object resourceId
)
|
VB |
Public Function HasResource(
ByVal resourceId As Object
) As Boolean
|
Parameters
-
resourceId
-
Type: Object
The resource id.
Return value
Type: Boolean
true, if the ResourceIds collection contains the specified resource id; otherwise, false.

Remarks
If the resourceId parameter is set to null or DevExpress.XtraScheduler.EmptyResourceId.Id, the HasResource method returns true.

See Also