Task.Get

I’m evaluating this product’s trial version in VB.NET and have a quick question. If I want to access a task’s name, for example, why must I write:

taskName = task.Get(Tsk.Name)

That seems very awkward to me. Why not just

taskName = task.Name

?




Hi Erik,


Thank you for using Aspose.Tasks.

This method of Get/Set was introduced after considering the complexity involved in calculations that are required after setting a parameter of the API that affects other parameters as well. Thus, instead of doing recalculation each time that could have lead to further complications, these methods were introduced so that respective parameters are set in background after setting values.