示例#1
0
文件: String.cs 项目: omesy/Bridge
 /// <summary>
 /// The localeCompare() method returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
 /// The new locales and options arguments let applications specify the language whose sort order should be used and customize the behavior of the function. In older implementations, which ignore the locales and options arguments, the locale and sort order used are entirely implementation dependent.
 /// </summary>
 /// <param name="compareString">The string against which the referring string is comparing</param>
 /// <param name="locales">A string with a BCP 47 language tag, or an array of such strings. For the general form and interpretation of the locales argument, see the Intl page. The following Unicode extension keys are allowed:</param>
 /// <param name="options">An object with some or all of the following properties:</param>
 /// <returns></returns>
 public int LocaleCompare(string compareString, string locales, LocaleOptions options)
 {
     return(0);
 }
示例#2
0
 /// <summary>
 /// The localeCompare() method returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
 /// The new locales and options arguments let applications specify the language whose sort order should be used and customize the behavior of the function. In older implementations, which ignore the locales and options arguments, the locale and sort order used are entirely implementation dependent.
 /// </summary>
 /// <param name="compareString">The string against which the referring string is comparing</param>
 /// <param name="locales">A string with a BCP 47 language tag, or an array of such strings. For the general form and interpretation of the locales argument, see the Intl page. The following Unicode extension keys are allowed:</param>
 /// <param name="options">An object with some or all of the following properties:</param>
 /// <returns></returns>
 public extern int LocaleCompare(string compareString, string locales, LocaleOptions options);
示例#3
0
文件: String.cs 项目: g40/Bridge
 /// <summary>
 /// The localeCompare() method returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
 /// The new locales and options arguments let applications specify the language whose sort order should be used and customize the behavior of the function. In older implementations, which ignore the locales and options arguments, the locale and sort order used are entirely implementation dependent.
 /// </summary>
 /// <param name="compareString">The string against which the referring string is comparing</param>
 /// <param name="locales">A string with a BCP 47 language tag, or an array of such strings. For the general form and interpretation of the locales argument, see the Intl page. The following Unicode extension keys are allowed:</param>
 /// <param name="options">An object with some or all of the following properties:</param>
 /// <returns></returns>
 public int LocaleCompare(string compareString, string locales, LocaleOptions options)
 {
     return 0;
 }