[]
        
(Showing Draft Content)

C1.Schedule.CalendarInfo.GetInstanceName

GetInstanceName Method

GetInstanceName(WeekOfMonthEnum)

Returns the culture-specific full name of the specified instance based on the current UI culture.

Declaration
public static string GetInstanceName(WeekOfMonthEnum instance)
Parameters
Type Name Description
WeekOfMonthEnum instance

The WeekOfMonthEnum value.

Returns
Type Description
string

The culture-specific full name of the specified instance.

GetInstanceName(WeekOfMonthEnum, CultureInfo)

Returns the culture-specific full name of the specified instance based on the specified culture.

Declaration
public static string GetInstanceName(WeekOfMonthEnum instance, CultureInfo culture)
Parameters
Type Name Description
WeekOfMonthEnum instance

The WeekOfMonthEnum value.

CultureInfo culture

The CultureInfo object.

Returns
Type Description
string

The culture-specific full name of the specified instance.