Rsc.MaxUnits
Rsc.MaxUnits field
The maximum number of units representing the maximum capacity for which a resource is available to accomplish any tasks during the current time period.
public static readonly Key<double, RscKey> MaxUnits;
Examples
Shows how to read/write Rsc.MaxUnits property.
var project = new Project();
var resource = project.Resources.Add("Resource");
resource.Set(Rsc.MaxUnits, 2);
Console.WriteLine("Max Units: " + resource.Get(Rsc.MaxUnits));
See Also
- struct Key<T,K>
- enum RscKey
- class Rsc
- namespace Aspose.Tasks
- assembly Aspose.Tasks