Class ScheduleResource
Represents a single schedule resource.
Inheritance
System.Object
ScheduleResource
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Schedule
Assembly: Syncfusion.Schedule.Base.dll
Syntax
public class ScheduleResource : IScheduleResource
Constructors
ScheduleResource()
Initializes a new instance of the ScheduleResource class.
Declaration
public ScheduleResource()
ScheduleResource(Int32)
Initializes a new instance of the ScheduleResource class using the specified resource UniqueID.
Declaration
public ScheduleResource(int nUniqueID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nUniqueID | Resource unique id. |
ScheduleResource(Int32, String)
Initializes a new instance of the ScheduleResource class using the specified resource UniqueID and name.
Declaration
public ScheduleResource(int nUniqueID, string sName)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nUniqueID | Resource unique id. |
System.String | sName | Resource name. |
Properties
Name
Gets or sets text to be displayed for the resources in Schedule.
Declaration
public virtual string Name { get; set; }
Property Value
Type |
---|
System.String |
UniqueID
Gets or sets a unique integer associated with this resource.
Declaration
public virtual int UniqueID { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
ToString()
An Overridden method that returns the string representation of ScheduleResource object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string holding the ScheudleResource object. |
Overrides
System.Object.ToString()