Share via


SPIntlCal.IsLocalDateValid-Methode (SPCalendarType, SimpleDate, Int32)

Gibt einen booleschen Wert, der angibt, ob das angegebene Datum der angegebenen Kalender unterstützt.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

Parameter

  • iAdvance
    Typ: System.Int32

    Der Vorschuss Wert für Kalender Hijri-Datum verwenden.

Rückgabewert

Typ: System.Boolean
true Wenn das Datum unterstützt wird; andernfalls false.

Siehe auch

Referenz

SPIntlCal Klasse

SPIntlCal-Member

IsLocalDateValid-Überladung

Microsoft.SharePoint.Utilities-Namespace