[]
        
(Showing Draft Content)

C1.C1Schedule.RecurrencePattern.GetDescription

GetDescription Method

GetDescription(CultureInfo)

Gets the human-readable description of the RecurrencePattern object according to the specified culture.

Declaration
public string GetDescription(CultureInfo culture)
Parameters
Type Name Description
CultureInfo culture

The CultureInfo object used for getting calendar specific strings.

Returns
Type Description
string

The string value described the RecurrencePattern object.

GetDescription(CalendarInfo)

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.

Declaration
public string GetDescription(CalendarInfo calendarInfo)
Parameters
Type Name Description
CalendarInfo calendarInfo

The CalendarInfo object used for getting calendar specific strings.

Returns
Type Description
string

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.