ResourceStorage.GetResourceById(Object) Method
Gets a resource within the collection by its ID value.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
public Resource GetResourceById(
object resourceId
)
Public Function GetResourceById(
resourceId As Object
) As Resource
Parameters
| Name | Type | Description |
|---|---|---|
| resourceId | Object | A Object which is the resource ID. |
Returns
| Type | Description |
|---|---|
| Resource | A Resource object whose Resource.Id is equal to the specified resource ID. If no resource with the specified ID is found, then the Resource.Empty value will be returned. |
See Also