Task.UnlinkPredecessors 方法 (專案)Task.UnlinkPredecessors method (Project)

移除任務的一個或多個前置任務。Removes one or more predecessors from the task.

語法Syntax

expressionexpression. UnlinkPredecessors( _Tasks_ )

_運算式_代表Task物件的變數。expression A variable that represents a Task object.

參數Parameters

名稱Name 必要/選用Required/Optional 資料類型Data type 描述Description
TasksTasks 必要Required ObjectObject 可以是 TaskTasks 物件,指定一或多個任務加以移除做為前置任務。Can be a Task or Tasks object, which specifies one or more tasks that are removed as predecessors.

傳回值Return value

nothingNothing

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.