다음을 통해 공유


SPIntlCal.DaysInLocalMonth Method (SPCalendarType, SimpleDate)

Returns the number of days in the month of the specified date in the international calendar.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Function DaysInLocalMonth ( _
    calType As SPCalendarType, _
    ByRef di As SimpleDate _
) As Integer
'Usage
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
)

Parameters

Return Value

Type: System.Int32
A 32-bit integer that represents the number of days in the month.

See Also

Reference

SPIntlCal Class

SPIntlCal Members

DaysInLocalMonth Overload

Microsoft.SharePoint.Utilities Namespace