Represents the link type and link lag information between two tasks. The TaskDependency object is a member of the TaskDependencies collection. 使用 TaskDependency 物件 使用 TaskDependencies (索引) ,其中 index 是相依索引,來回傳單一 TaskDependency 物件。 The following example adds 1.5 days of lag to the link between the specified task and the predecessor specified in its first task dependency. 使用 TaskDependencies 集合 使用 TaskDependencies 屬性來回傳 TaskDependencies 集合。 下列範例會檢查指定之任務的每個前置任務和每"High"或更高的優先順序會顯示一個訊息。 Use the Add method to add a TaskDependency object to the TaskDependencies collection. 下面範例將「初步研究與核准」當作「草擬初始商務方案」的前置任務,以完成-開始的關係來連結「初步研究與核准」。
方法
| 名稱 |
|---|
| Delete |
屬性
| 名稱 |
|---|
| Application |
| 寄件者 |
| Index |
| 延遲 |
| LagType |
| Parent |
| Path |
| To |
| Type |
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。