SPIntlCal.IsCalendarSupported Method
Returns a Boolean value that indicates whether the international calendar supports the specified calendar type.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function IsCalendarSupported ( _
calType As SPCalendarType _
) As Boolean
'Usage
Dim calType As SPCalendarType
Dim returnValue As Boolean
returnValue = SPIntlCal.IsCalendarSupported(calType)
public static bool IsCalendarSupported(
SPCalendarType calType
)
Parameters
calType
Type: Microsoft.SharePoint.SPCalendarTypeAn SPCalendarType object that represents a calendar type.
Return Value
Type: System.Boolean
true if the calendar type is supported; otherwise, false.