タスクスケジュールの競合を決定します

タスクスケジュールの矛盾を確認する方法

TSKクラスは、タスクにスケジュールの不一致があるかどうかを確認するために使用される警告フィールドを公開します。これは旗であり、真または偽を返します。

1// Create project instance
2System::String dataDir = RunExamples::GetDataDir(System::Reflection::MethodBase::GetCurrentMethod(ASPOSE_CURRENT_FUNCTION)->get_DeclaringType().get_FullName());
3    
4auto project = System::MakeObject<Project>(dataDir + u"schedule-conflict.mpp");
5auto task = project->get_RootTask()->get_Children()->GetById(1);
6System::Console::WriteLine(task->Get<bool>(Tsk::Warning()));
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.