[]
        
(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)
Public Shared Function GetInstanceName(instance As WeekOfMonthEnum) As String
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)
Public Shared Function GetInstanceName(instance As WeekOfMonthEnum, culture As CultureInfo) As String
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.