Gets the human-readable description of the RecurrencePattern object according to the specified CalendarInfo object. Use this method instead of Description property if the RecurrencePattern object does not belong to any C1.C1Schedule control.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public string GetDescription(
	CalendarInfo calendarInfo
)
Visual Basic
Public Function GetDescription ( _
	calendarInfo As CalendarInfo _
) As String

Parameters

calendarInfo
Type: C1.C1Schedule..::..CalendarInfo
The CalendarInfo object used for getting calendar specific strings.

Return Value

The String value described the RecurrencePattern object.

Remarks

If the RecurrencePattern object does not belong to the C1.C1Schedule control, its Description property will return the default description using current user culture and calendar settings.

See Also