Skip to main content

Resource(Object, String, Object) Constructor

In This Article

Initializes a new instance of the Resource class with the specified caption and ID.

Namespace: DevExpress.XtraScheduler

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

#Declaration

public Resource(
    object id,
    string caption,
    object parentId
)

#Parameters

Name Type Description
id Object

An Object value that specifies the ID of the resource. This value is assigned to the Resource.Id property.

caption String

A String value that specifies the caption of the resource. This value is assigned to the Resource.Caption property.

parentId Object

An object that is the identifier of the parent resource in a tree-like resource hierarchy.

See Also