GetCultureInfo() public static méthode

public static GetCultureInfo ( int culture ) : CultureInfo
culture int
Résultat CultureInfo
Exemple #1
0
        // -----------------------------
        // ---- PAL layer ends here ----
        // -----------------------------

        private bool NeedsTurkishCasing(string localeName)
        {
            Contract.Assert(localeName != null);

            return(CultureInfo.GetCultureInfo(localeName).CompareInfo.Compare("\u0131", "I", CompareOptions.IgnoreCase) == 0);
        }