menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Resource - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Resource

    Represents a Resource in a Project

    Inheritance
    System.Object
    Resource
    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)
    System.Object.ToString()
    Namespace: Syncfusion.ProjIO
    Assembly: Syncfusion.ProjIO.Base.dll
    Syntax
    public class Resource

    Constructors

    Resource()

    Initializes a new instance of the Resource class.

    Declaration
    public Resource()

    Properties

    AccrueAt

    Gets or sets how cost is accrued against the resource

    Declaration
    public ResourceAccrueAt AccrueAt { get; set; }
    Property Value
    Type
    ResourceAccrueAt

    ActiveDirectoryGUID

    Gets or sets the Active Directory GUID for the resource

    Declaration
    public string ActiveDirectoryGUID { get; set; }
    Property Value
    Type
    System.String

    ActualCost

    Gets or sets the actual cost incurred by the resource across all assigned tasks

    Declaration
    public decimal ActualCost { get; set; }
    Property Value
    Type
    System.Decimal

    ActualCostSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string ActualCostSerialized { get; set; }
    Property Value
    Type
    System.String

    ActualOvertimeCost

    Gets or sets the actual overtime cost incurred by the resource across all assigned tasks

    Declaration
    public decimal ActualOvertimeCost { get; set; }
    Property Value
    Type
    System.Decimal

    ActualOvertimeCostSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string ActualOvertimeCostSerialized { get; set; }
    Property Value
    Type
    System.String

    ActualOvertimeWork

    Gets or sets the amount of actual overtime work performed by the resource

    Declaration
    public string ActualOvertimeWork { get; set; }
    Property Value
    Type
    System.String

    ActualOvertimeWorkProtected

    Gets or sets the duration through which actual overtime work is protected

    Declaration
    public string ActualOvertimeWorkProtected { get; set; }
    Property Value
    Type
    System.String

    ActualWork

    Gets or sets the amount of actual work performed by the resource

    Declaration
    public string ActualWork { get; set; }
    Property Value
    Type
    System.String

    ActualWorkProtected

    Gets or sets the duration through which actual work is protected

    Declaration
    public string ActualWorkProtected { get; set; }
    Property Value
    Type
    System.String

    ACWP

    Gets or sets the actual cost of the work performed by the resource for the project to-date

    Declaration
    public float ACWP { get; set; }
    Property Value
    Type
    System.Single

    ACWPSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string ACWPSerialized { get; set; }
    Property Value
    Type
    System.String

    AssnOwner

    Gets or sets the name of the assignment owner

    Declaration
    public string AssnOwner { get; set; }
    Property Value
    Type
    System.String

    AssnOwnerGuid

    Gets or sets the GUID of the assignment owner

    Declaration
    public string AssnOwnerGuid { get; set; }
    Property Value
    Type
    System.String

    AvailabilityPeriods

    Resource Availability Periods

    Declaration
    public List<ResourceAvailabilityPeriod> AvailabilityPeriods { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<ResourceAvailabilityPeriod>

    AvailableFrom

    Gets or sets the first date that the resource is available

    Declaration
    public DateTime AvailableFrom { get; set; }
    Property Value
    Type
    System.DateTime

    AvailableFromSpecified

    Checks whether the first date that the resource is available is specified

    Declaration
    public bool AvailableFromSpecified { get; set; }
    Property Value
    Type
    System.Boolean

    AvailableTo

    Gets or sets the last date the resource is available

    Declaration
    public DateTime AvailableTo { get; set; }
    Property Value
    Type
    System.DateTime

    AvailableToSpecified

    Checks whether the last date the resource is available is specified

    Declaration
    public bool AvailableToSpecified { get; set; }
    Property Value
    Type
    System.Boolean

    Baseline

    Resource baseline

    Declaration
    public List<ResourceBaseline> Baseline { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<ResourceBaseline>

    BCWP

    Gets or sets the budgeted cost of the work performed by the resource for the project to-date

    Declaration
    public float BCWP { get; set; }
    Property Value
    Type
    System.Single

    BCWPSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string BCWPSerialized { get; set; }
    Property Value
    Type
    System.String

    BCWS

    Gets or sets the budget cost of work scheduled for the resource

    Declaration
    public float BCWS { get; set; }
    Property Value
    Type
    System.Single

    BCWSSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string BCWSSerialized { get; set; }
    Property Value
    Type
    System.String

    BookingType

    Gets or sets the booking type of the resource

    Declaration
    public BookingType BookingType { get; set; }
    Property Value
    Type
    BookingType

    CalendarUID

    Gets or sets the UID of the resource calendar

    Declaration
    public int CalendarUID { get; set; }
    Property Value
    Type
    System.Int32

    CalendarUIDSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string CalendarUIDSerialized { get; set; }
    Property Value
    Type
    System.String

    CanLevel

    Checks whether the resource can be leveled

    Declaration
    public bool CanLevel { get; set; }
    Property Value
    Type
    System.Boolean

    CanLevelString

    Gets or sets the value indicating whether the resource can be leveled.

    Declaration
    public string CanLevelString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the resource can be leveled.

    Code

    Gets or sets the code or other information about the resource

    Declaration
    public string Code { get; set; }
    Property Value
    Type
    System.String

    Cost

    Gets or sets the total project cost for the resource across all assigned tasks

    Declaration
    public decimal Cost { get; set; }
    Property Value
    Type
    System.Decimal

    CostPerUse

    Gets or sets the cost per use of the resource

    Declaration
    public decimal CostPerUse { get; set; }
    Property Value
    Type
    System.Decimal

    CostPerUseSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string CostPerUseSerialized { get; set; }
    Property Value
    Type
    System.String

    CostSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string CostSerialized { get; set; }
    Property Value
    Type
    System.String

    CostVariance

    Gets or sets the difference between the baseline cost and the cost

    Declaration
    public float CostVariance { get; set; }
    Property Value
    Type
    System.Single

    CostVarianceSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string CostVarianceSerialized { get; set; }
    Property Value
    Type
    System.String

    CreationDate

    Gets or sets the date that the resource was created

    Declaration
    public DateTime CreationDate { get; set; }
    Property Value
    Type
    System.DateTime

    CV

    Gets or sets the earned value cost variance, through the project status date

    Declaration
    public float CV { get; set; }
    Property Value
    Type
    System.Single

    CVSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string CVSerialized { get; set; }
    Property Value
    Type
    System.String

    EmailAddress

    Gets os sets the email address of the resource

    Declaration
    public string EmailAddress { get; set; }
    Property Value
    Type
    System.String

    ExtendedAttribute

    Extended attribute

    Declaration
    public List<ExtendedAttributesBase> ExtendedAttribute { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<ExtendedAttributesBase>

    Finish

    Gets or sets the scheduled finish date of the resource

    Declaration
    public DateTime Finish { get; set; }
    Property Value
    Type
    System.DateTime

    Group

    Gets or sets the group to which the resource belongs

    Declaration
    public string Group { get; set; }
    Property Value
    Type
    System.String

    Hyperlink

    Gets or sets the title of the hyperlink associated with the resource

    Declaration
    public string Hyperlink { get; set; }
    Property Value
    Type
    System.String

    HyperlinkAddress

    Gets os sets the hyperlink associated with the resource

    Declaration
    public string HyperlinkAddress { get; set; }
    Property Value
    Type
    System.String

    HyperlinkSubAddress

    Gets os sets the document bookmark of the hyperlink associated with the resource

    Declaration
    public string HyperlinkSubAddress { get; set; }
    Property Value
    Type
    System.String

    ID

    Gets or sets the position identifier of the resource within the list of resources

    Declaration
    public int ID { get; set; }
    Property Value
    Type
    System.Int32

    IDSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string IDSerialized { get; set; }
    Property Value
    Type
    System.String

    Initials

    Gets or sets the initials of the resource

    Declaration
    public string Initials { get; set; }
    Property Value
    Type
    System.String

    IsBudget

    Checks whether the resource is a budget resource

    Declaration
    public bool IsBudget { get; set; }
    Property Value
    Type
    System.Boolean

    IsBudgetString

    Gets or sets the value indicating whether the resource is a budget resource.

    Declaration
    public string IsBudgetString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the resource is a budget resource.

    IsCostResource

    Checks whether the resource is a cost resource

    Declaration
    public bool IsCostResource { get; set; }
    Property Value
    Type
    System.Boolean

    IsCostResourceString

    Gets or sets the value indicating whether the resource is a cost resource.

    Declaration
    public string IsCostResourceString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the resource is a cost resource.

    IsEnterprise

    Checks whether the resource is an Enterprise resource

    Declaration
    public bool IsEnterprise { get; set; }
    Property Value
    Type
    System.Boolean

    IsEnterpriseString

    Gets or sets the value indicating whether the resource is an Enterprise resource.

    Declaration
    public string IsEnterpriseString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the resource is an Enterprise resource.

    IsGeneric

    Checks whether the resource is generic

    Declaration
    public bool IsGeneric { get; set; }
    Property Value
    Type
    System.Boolean

    IsGenericString

    Gets or sets the value indicating whether the resource is generic.

    Declaration
    public string IsGenericString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the resource is generic.

    IsInactive

    Checks whether the resource is set to inactive

    Declaration
    public bool IsInactive { get; set; }
    Property Value
    Type
    System.Boolean

    IsInactiveString

    Gets or sets the value indicating whether the resource is set to inactive.

    Declaration
    public string IsInactiveString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the resource is set to inactive.

    IsNull

    Checks whether the resource is null

    Declaration
    public bool IsNull { get; set; }
    Property Value
    Type
    System.Boolean

    IsNullString

    Gets or sets the value indicating whether the resource is null.

    Declaration
    public string IsNullString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the resource is null.

    IsOverAllocated

    Checks whether the resource is overallocated

    Declaration
    public bool IsOverAllocated { get; set; }
    Property Value
    Type
    System.Boolean

    IsOverAllocatedString

    Gets or sets the value indicating whether the resource is over allocated.

    Declaration
    public string IsOverAllocatedString { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies whether the resource is over allocated.

    MaterialLabel

    Gets or sets the unit of measure for the material resource

    Declaration
    public string MaterialLabel { get; set; }
    Property Value
    Type
    System.String

    MaxUnits

    Gets or sets the maximum number of units that the resource is available

    Declaration
    public float MaxUnits { get; set; }
    Property Value
    Type
    System.Single

    MaxUnitsSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string MaxUnitsSerialized { get; set; }
    Property Value
    Type
    System.String

    Name

    Gets or sets the name of the resource

    Declaration
    public string Name { get; set; }
    Property Value
    Type
    System.String

    Notes

    Gets or sets the text notes associated with the resource

    Declaration
    public string Notes { get; set; }
    Property Value
    Type
    System.String

    NTAccount

    Gets or sets the NT account associated with the resource

    Declaration
    public string NTAccount { get; set; }
    Property Value
    Type
    System.String

    OutlineCode

    Outline code of the resource

    Declaration
    public List<OutlineCodeBase> OutlineCode { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<OutlineCodeBase>

    OvertimeCost

    Gets or sets the total overtime cost for the resource including actual and remaining overtime costs

    Declaration
    public decimal OvertimeCost { get; set; }
    Property Value
    Type
    System.Decimal

    OvertimeCostSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string OvertimeCostSerialized { get; set; }
    Property Value
    Type
    System.String

    OvertimeRate

    Gets or sets the overtime rate of the resource

    Declaration
    public decimal OvertimeRate { get; set; }
    Property Value
    Type
    System.Decimal

    OvertimeRateFormat

    Gets or sets the units used by Microsoft Project to display the overtime rate

    Declaration
    public ResourceOvertimeRateFormat OvertimeRateFormat { get; set; }
    Property Value
    Type
    ResourceOvertimeRateFormat

    OvertimeRateSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string OvertimeRateSerialized { get; set; }
    Property Value
    Type
    System.String

    OvertimeWork

    Gets or sets the amount of overtime work assigned to the resource

    Declaration
    public string OvertimeWork { get; set; }
    Property Value
    Type
    System.String

    PeakUnits

    Gets or sets the largest number of units assigned to the resource at any time

    Declaration
    public float PeakUnits { get; set; }
    Property Value
    Type
    System.Single

    PeakUnitsSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string PeakUnitsSerialized { get; set; }
    Property Value
    Type
    System.String

    PeakUnitsSpecified

    Checks whether the largest number of units assigned to the resource at any time is specified

    Declaration
    public bool PeakUnitsSpecified { get; set; }
    Property Value
    Type
    System.Boolean

    PercentWorkComplete

    Gets or sets the percentage of work completed across all tasks

    Declaration
    public int PercentWorkComplete { get; set; }
    Property Value
    Type
    System.Int32

    PercentWorkCompleteSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string PercentWorkCompleteSerialized { get; set; }
    Property Value
    Type
    System.String

    Phonetics

    Gets or sets the phonetic spelling of the resource name

    Declaration
    public string Phonetics { get; set; }
    Property Value
    Type
    System.String

    Rates

    Resource rates

    Declaration
    public List<ResourceRate> Rates { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<ResourceRate>

    RegularWork

    Gets or sets the amount of non-overtime work assigned to the resource

    Declaration
    public string RegularWork { get; set; }
    Property Value
    Type
    System.String

    RemainingCost

    Gets or sets the remaining projected cost of the resource to complete all assigned tasks

    Declaration
    public decimal RemainingCost { get; set; }
    Property Value
    Type
    System.Decimal

    RemainingCostSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string RemainingCostSerialized { get; set; }
    Property Value
    Type
    System.String

    RemainingOvertimeCost

    Gets or sets the remaining projected overtime cost of the resource to complete all assigned tasks

    Declaration
    public decimal RemainingOvertimeCost { get; set; }
    Property Value
    Type
    System.Decimal

    RemainingOvertimeCostSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string RemainingOvertimeCostSerialized { get; set; }
    Property Value
    Type
    System.String

    RemainingOvertimeWork

    Gets or sets the amount of remaining overtime work required to complete all tasks

    Declaration
    public string RemainingOvertimeWork { get; set; }
    Property Value
    Type
    System.String

    RemainingWork

    Gets or sets the amount of remaining work required to complete all assigned tasks

    Declaration
    public string RemainingWork { get; set; }
    Property Value
    Type
    System.String

    StandardRate

    Gets or sets the standard rate of the resource

    Declaration
    public decimal StandardRate { get; set; }
    Property Value
    Type
    System.Decimal

    StandardRateFormat

    Gets or sets the units used by Microsoft Project to display the standard rate

    Declaration
    public ResourceStandardRateFormat StandardRateFormat { get; set; }
    Property Value
    Type
    ResourceStandardRateFormat

    StandardRateSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string StandardRateSerialized { get; set; }
    Property Value
    Type
    System.String

    Start

    Gets or sets the scheduled start date of the resource

    Declaration
    public DateTime Start { get; set; }
    Property Value
    Type
    System.DateTime

    SV

    Gets or sets the earned value schedule variance, through the project status date

    Declaration
    public float SV { get; set; }
    Property Value
    Type
    System.Single

    SVSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string SVSerialized { get; set; }
    Property Value
    Type
    System.String

    TimephasedData

    Timephased data

    Declaration
    public List<TimephasedDataType> TimephasedData { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<TimephasedDataType>

    Type

    Gets or sets the type of resource

    Declaration
    public ResourceType Type { get; set; }
    Property Value
    Type
    ResourceType

    UID

    Gets or sets the unique identifier of the resource

    Declaration
    public int UID { get; set; }
    Property Value
    Type
    System.Int32

    UIDSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string UIDSerialized { get; set; }
    Property Value
    Type
    System.String

    Work

    gets or sets the total work assigned to the resource across all assigned tasks

    Declaration
    public string Work { get; set; }
    Property Value
    Type
    System.String

    WorkGroup

    Gets or sets the type of workgroup to which the resource belongs

    Declaration
    public ResourceWorkGroup WorkGroup { get; set; }
    Property Value
    Type
    ResourceWorkGroup

    WorkVariance

    Gets or sets the difference between the baseline work and the work as minutes x 1000

    Declaration
    public float WorkVariance { get; set; }
    Property Value
    Type
    System.Single

    WorkVarianceSerialized

    This property is used while Serializing and Deserializing the Project XML file

    Declaration
    public string WorkVarianceSerialized { get; set; }
    Property Value
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved