ISPCalendar.IsYearLeap method (Int32)
傳回布林值,指出指定的年份是否為閏年。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Function IsYearLeap ( _
year As Integer _
) As Boolean
'用途
Dim instance As ISPCalendar
Dim year As Integer
Dim returnValue As Boolean
returnValue = instance.IsYearLeap(year)
bool IsYearLeap(
int year
)
參數
year
Type: System.Int32整數值,表示年份。
傳回值
Type: System.Boolean
true如果年是閏年。否則, false。