Represents a currency rate per period of time.
For a list of all members of this type, see PayRate Members.
System.Object
Aspose.Tasks.PayRate
[Visual Basic]
NotInheritable Public Class PayRate
[C#]public sealed class PayRate
Thread Safety
Public static (Shared in Visual Basic) members of this type are
safe for multithreaded operations. Instance members are not guaranteed to be
thread-safe.
Example
[C#]
// Get default settings of the current project file
DefaultSettings ds = file.DefaultSettings;
// Set new standard and overtime rates
ds.DefaultStandardRate = new PayRate(25, TimeUnit.Days);
ds.DefaultOvertimeRate = new PayRate(40, TimeUnit.Days);
[Visual Basic]
' Get default settings of the current project file
Dim ds As DefaultSettings = file.DefaultSettings
' Set new standard and overtime rates
ds.DefaultStandardRate = New PayRate(25, TimeUnit.Days)
ds.DefaultOvertimeRate = New PayRate(40, TimeUnit.Days)
Requirements
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks (in Aspose.Tasks.dll)
See Also
PayRate Members | Aspose.Tasks Namespace