SPIntlCal.IsLocalDateValid - Méthode (SPCalendarType, SimpleDate, Int32)

Renvoie une valeur de type Boolean qui indique si le type de calendrier spécifié prend en charge la date spécifiée.

Espace de noms :  Microsoft.SharePoint.Utilities
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Shared Function IsLocalDateValid ( _
    calType As SPCalendarType, _
    ByRef di As SimpleDate, _
    iAdvance As Integer _
) As Boolean
'Utilisation
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim iAdvance As Integer
Dim returnValue As Boolean

returnValue = SPIntlCal.IsLocalDateValid(calType, _
    di, iAdvance)
public static bool IsLocalDateValid(
    SPCalendarType calType,
    ref SimpleDate di,
    int iAdvance
)

Paramètres

  • iAdvance
    Type : System.Int32

    La valeur d'avance à utiliser pour une date du calendrier islamique (Hijri).

Valeur renvoyée

Type : System.Boolean
true si la date est pris en charge ; dans le cas contraire, false.

Voir aussi

Référence

SPIntlCal classe

SPIntlCal - Membres

IsLocalDateValid - Surcharge

Microsoft.SharePoint.Utilities - Espace de noms