SPIntlCal.DaysInLocalMonth - Méthode (SPCalendarType, SimpleDate)
Retourne le nombre de jours dans le mois de la date spécifiée dans le calendrier international.
Espace de noms : Microsoft.SharePoint.Utilities
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Shared Function DaysInLocalMonth ( _
calType As SPCalendarType, _
ByRef di As SimpleDate _
) As Integer
'Utilisation
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
)
Paramètres
calType
Type : Microsoft.SharePoint.SPCalendarTypeObjet SPCalendarType qui représente un type de calendrier.
di
Type : Microsoft.SharePoint.Utilities.SimpleDateSimpleDate à évaluer.
Valeur renvoyée
Type : System.Int32
Entier 32 bits qui représente le nombre de jours dans le mois.