Char.ToLowerInvariant(Char) Char.ToLowerInvariant(Char) Char.ToLowerInvariant(Char) Char.ToLowerInvariant(Char) Method

定義

使用不因文化特性而異 (Invariant Culture) 的轉換規則,將 Unicode 字元的值轉換成其小寫的同等項目。Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.

public:
 static char ToLowerInvariant(char c);
public static char ToLowerInvariant (char c);
static member ToLowerInvariant : char -> char
Public Shared Function ToLowerInvariant (c As Char) As Char

參數

c
Char Char Char Char

要轉換的 Unicode 字元。The Unicode character to convert.

傳回

c 參數的對等小寫;如果 c 已經是小寫或不是英文字母,則為未變更的 c 值。The lowercase equivalent of the c parameter, or the unchanged value of c, if c is already lowercase or not alphabetic.

備註

如果您的應用程式不受目前文化特性的影響,而且取決於以可預測方式變更的字元大小寫, ToLowerInvariant則請使用方法。If your application is unaffected by the current culture and depends on the case of a character changing in a predictable way, then use the ToLowerInvariant method. 方法相當於ToLower(Char, CultureInfo.InvariantCulture)ToLowerInvariantThe ToLowerInvariant method is equivalent to ToLower(Char, CultureInfo.InvariantCulture).

String.ToLowerInvariant來將字串轉換成小寫。Use String.ToLowerInvariant to convert a string to lowercase.

適用於

另請參閱