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
calType
Typ: Microsoft.SharePoint.SPCalendarTypeEin SPCalendarType -Objekt, das einen Kalender darstellt.
di
Typ: Microsoft.SharePoint.Utilities.SimpleDateDie SimpleDate ausgewertet.
iAdvance
Typ: System.Int32Der Vorschuss Wert für Kalender Hijri-Datum verwenden.
Rückgabewert
Typ: System.Boolean
true Wenn das Datum unterstützt wird; andernfalls false.