Skip to main content

Resource(Object, String) 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
)

#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.

See Also