WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScheduleResource - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScheduleResource

    Represents a single schedule resource.

    Inheritance
    System.Object
    ScheduleResource
    Implements
    IScheduleResource
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.String

    UniqueID

    Gets or sets a unique integer associated with this resource.

    Declaration
    public virtual int UniqueID { get; set; }
    Property Value
    Type Description
    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()

    Implements

    IScheduleResource
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved