共用方式為


IntlDate.MonthsInYear method

傳回代表國際日期的行事曆年的月數的Integer

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Function MonthsInYear As Integer
'用途
Dim instance As IntlDate
Dim returnValue As Integer

returnValue = instance.MonthsInYear()
public int MonthsInYear()

傳回值

Type: System.Int32

請參閱

參照

IntlDate class

IntlDate members

Microsoft.SharePoint.Utilities namespace