Table of Contents

Class CultureUtil

Namespace
Hi.Common
Assembly
HiGeom.dll

Utility class for managing culture and localization settings.

public static class CultureUtil
Inheritance
CultureUtil
Inherited Members

Properties

SupportedCultureNames

Gets the array of supported culture names.

public static string[] SupportedCultureNames { get; }

Property Value

string[]

Methods

SetCurrentCulture(string)

Sets the current thread culture to the specified culture code.

public static void SetCurrentCulture(string cultureCode)

Parameters

cultureCode string

The culture code to set (e.g., “en”, “zh-Hant”)

SetCurrentCultureEn()

Sets the current culture to English.

public static void SetCurrentCultureEn()