Struct
ProjectUnits
OfficeIMO.Project
Assignment allocation, where 100 percent is one full resource unit.
Inheritance
- ValueType
- ProjectUnits
Usage
Explore 13 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 7
- Property ProjectAssignment.Units
- Property ProjectAssignmentSchedule.Units
- Property ProjectResource.MaxUnits
- Property ProjectResourceAvailability.Units
- Method ProjectUnits.Fraction
- Method ProjectUnits.Percent
- Method ProjectWorkEquation.Units
Accepted by parameters 6
- Method ProjectAssignmentCollection.Add
- Method ProjectResource.SetMaxUnits
- Method ProjectTask.Assign
- Method ProjectUnits.Equals
- Method ProjectWorkEquation.DurationMinutes
- Method ProjectWorkEquation.Work
Methods
Equals 2 overloads
public bool Equals(ProjectUnits other) #Indicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.Project.ProjectUnits
- An object to compare with this object.
Returns
bool true if the current object is equal to the other parameter; otherwise, false.public override bool Equals(object? obj) #Indicates whether this instance and a specified object are equal.
Parameters
- obj object?
- The object to compare with the current instance.
Returns
bool true if obj and this instance are the same type and represent the same value; otherwise, false.public static ProjectUnits Fraction(decimal value) #Creates fractional resource units such as 0.5 or 1.
Parameters
- value decimal
Returns
ProjectUnitspublic override int GetHashCode() #Returns the hash code for this instance.
Returns
int A 32-bit signed integer that is the hash code for this instance.public static ProjectUnits Percent(decimal value) #Creates allocation from a percent such as 50 or 100.
Parameters
- value decimal
Returns
ProjectUnits