/// <summary> /// The given character is mapped to its lowercase equivalent according to UnicodeData.txt; /// if the character has no lowercase equivalent, the character itself is returned. /// /// This function only returns the simple, single-code point case mapping. Full case /// mappings should be used whenever possible because they produce better results by /// working on whole strings. They take into account the string context and the language /// and can map to a result string with a different length as appropriate. Full case /// mappings are applied by the string case mapping functions, <see cref="UnicodeString"/> /// See also the User Guide chapter on C/POSIX migration: /// <seealso href="http: //icu-project.org/userguide/posix.html#case_mappings"/> /// </summary> /// <param name="codePoint">the code point to be mapped </param> /// <returns>the Simple_Lowercase_Mapping of the code point, if any; otherwise the code /// point itself. </returns> public static int ToLower(int codePoint) { return(NativeMethods.u_tolower(codePoint)); }