Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the number of months in the year of the specified date.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Function MonthsInYear ( _
ByRef di As SimpleDate _
) As Integer
'Usage
Dim instance As ISPCalendar
Dim di As SimpleDate
Dim returnValue As Integer
returnValue = instance.MonthsInYear(di)
int MonthsInYear(
ref SimpleDate di
)
Parameters
di
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate to evaluate.
Return Value
Type: System.Int32
An integer that represents the number of months in the year of the specified date.