Represents a default values for the current project.
For a list of all members of this type, see DefaultSettings Members.
System.Object
Aspose.Tasks.MPXRecord
Aspose.Tasks.DefaultSettings
[Visual Basic]NotInheritable Public Class DefaultSettings
[C#]public sealed class DefaultSettings
: MPXRecord 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
DefaultSettings Members | Aspose.Tasks Namespace