SPIntlCal.IsSupportedLocalMonth - Méthode
Renvoie une valeur de type Boolean qui indique si le type de calendrier spécifié prend en charge le mois spécifié.
Espace de noms : Microsoft.SharePoint.Utilities
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Shared Function IsSupportedLocalMonth ( _
calType As SPCalendarType, _
year As Integer, _
month As Integer _
) As Boolean
'Utilisation
Dim calType As SPCalendarType
Dim year As Integer
Dim month As Integer
Dim returnValue As Boolean
returnValue = SPIntlCal.IsSupportedLocalMonth(calType, _
year, month)
public static bool IsSupportedLocalMonth(
SPCalendarType calType,
int year,
int month
)
Paramètres
calType
Type : Microsoft.SharePoint.SPCalendarTypeObjet SPCalendarType qui représente un type de calendrier.
year
Type : System.Int32Un entier de 32 bits qui représente une année.
month
Type : System.Int32Entier 32 bits qui représente le mois à évaluer.
Valeur renvoyée
Type : System.Boolean
true si le type de calendrier prend en charge le mois ; dans le cas contraire, false.