SPIntlCal.DaysInLocalMonth method (SPCalendarType, SimpleDate)
傳回在國際行事曆中指定的日期的月份的天數。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function DaysInLocalMonth ( _
calType As SPCalendarType, _
ByRef di As SimpleDate _
) As Integer
'用途
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim returnValue As Integer
returnValue = SPIntlCal.DaysInLocalMonth(calType, _
di)
public static int DaysInLocalMonth(
SPCalendarType calType,
ref SimpleDate di
)
參數
calType
Type: Microsoft.SharePoint.SPCalendarTypeSPCalendarType物件,表示行事曆類型。
di
Type: Microsoft.SharePoint.Utilities.SimpleDate評估SimpleDate 。
傳回值
Type: System.Int32
32 位元整數,表示月份中的天數。