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
)
參數
date
類型:System.DateTime用來尋找狀態期間的日期。
傳回值
類型:Microsoft.Office.Project.Server.Library.SrPeriod
狀態期間包含在指定的日期。