共用方式為


StatusFreq.GetPeriodForDate 方法

取得中指定的日期落在狀態期間。

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
Public Function GetPeriodForDate ( _
    date As DateTime _
) As SrPeriod
'用途
Dim instance As StatusFreq
Dim date As DateTime
Dim returnValue As SrPeriod

returnValue = instance.GetPeriodForDate(date)
public SrPeriod GetPeriodForDate(
    DateTime date
)

參數

傳回值

類型:Microsoft.Office.Project.Server.Library.SrPeriod
狀態期間包含在指定的日期。

請參閱

參照

StatusFreq 類別

StatusFreq 成員

Microsoft.Office.Project.Server.Library 命名空間