ProjectResource
OfficeIMO.Project
A work, material, or cost resource; imported rates and actuals are retained without calculation.
Inheritance
- ProjectObject
- ProjectEntity
- ProjectNamedEntity
- ProjectResource
Usage
Explore 15 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 13
- Property ProjectAssignment.Resource
- Method ProjectResource.SetAlias
- Method ProjectResource.SetCalendar
- Method ProjectResource.SetMaterial
- Method ProjectResource.SetMaxUnits
- Method ProjectResource.SetName
- Method ProjectResource.SetStandardRate
- Method ProjectResourceCollection.AddCost
- Method ProjectResourceCollection.AddMaterial
- Method ProjectResourceCollection.AddWork
- Method ProjectResourceCollection.GetByUid
- Method ProjectResourceCollection.GetEnumerator
- Property ProjectResourceCollection.Item
Accepted by parameters 2
Methods
public ProjectResource SetAlias(string alias) #Registers a document-local resource alias for deferred assignments.
Parameters
- alias string
Returns
ProjectResourcepublic ProjectResource SetCalendar(ProjectCalendar value) #Assigns an explicit resource calendar.
Parameters
- value OfficeIMO.Project.ProjectCalendar
Returns
ProjectResourcepublic ProjectResource SetMaterial(string label) #Sets a material resource kind and its label.
Parameters
- label string
Returns
ProjectResourcepublic ProjectResource SetMaxUnits(ProjectUnits value) #Sets maximum allocation.
Parameters
- value OfficeIMO.Project.ProjectUnits
Returns
ProjectResourcepublic ProjectResource SetName(string value) #Sets the resource name.
Parameters
- value string
Returns
ProjectResourcepublic ProjectResource SetStandardRate(decimal value) #Sets the standard monetary rate.
Parameters
- value decimal
Returns
ProjectResourceInherited Methods
Properties
public ProjectCollection<ProjectResourceAvailability> AvailabilityPeriods { get; } #Dated capacity periods. Outside explicitly listed periods capacity is zero; an empty collection uses MaxUnits.
public ProjectCollection<ProjectResourceRate> Rates { get; } #Dated cost rates grouped by table A through E. Work rates are expressed per hour; material rates are per material unit.
public ProjectCostAccrual? AccrueAt { get; set; } #When work or material costs accrue. Per-use costs are charged once when the assignment starts.
public bool? CanLevel { get; set; } #Whether explicit resource leveling may move this resource's assignments.
public ProjectCollection<ProjectTimephasedValue> TimephasedData { get; } #Compact source timephased intervals.
public ProjectCollection<ProjectBaseline> Baselines { get; } #Stored baseline snapshots.
public ProjectCollection<ProjectCustomFieldValue> CustomFields { get; } #Custom values and lookup references.
public ProjectCollection<ProjectCustomFieldValue> OutlineCodes { get; } #Outline-code selections referencing hierarchical lookup values.
public ProjectCalendar? Calendar { get; set; } #Explicit calendar reference; null means no explicit calendar on this object.
public int? DisplayId { get; set; } #Display row identifier, separate from the stable UID.
public ProjectResourceType? Type { get; set; } #Stored type; null represents an absent source value.
public string? Initials { get; set; } #Stored initials; null represents an absent source value.
public string? Group { get; set; } #Stored group; null represents an absent source value.
public string? EmailAddress { get; set; } #Stored email address; null represents an absent source value.
public string? MaterialLabel { get; set; } #Stored material label; null represents an absent source value.
public ProjectUnits? MaxUnits { get; set; } #Stored max units; null represents an absent source value.
public decimal? StandardRate { get; set; } #Stored standard rate; null represents an absent source value.
public decimal? OvertimeRate { get; set; } #Stored overtime rate; null represents an absent source value.
public decimal? CostPerUse { get; set; } #Currency charge per assigned work-resource unit, or once per material assignment regardless of quantity; null represents an absent source value.
public decimal? Cost { get; set; } #Stored cost; null represents an absent source value.
public decimal? ActualCost { get; set; } #Stored actual cost; null represents an absent source value.
public decimal? RemainingCost { get; set; } #Stored remaining cost; explicit assignment calculation refreshes this resource total.
public ProjectWork? Work { get; set; } #Stored work; null represents an absent source value.
public ProjectWork? ActualWork { get; set; } #Stored actual work; null represents an absent source value.
public ProjectWork? RemainingWork { get; set; } #Stored remaining work; null represents an absent source value.
public string? Notes { get; set; } #Stored notes; null represents an absent source value.
public bool? IsNull { get; set; } #Stored is null; null represents an absent source value.