Character.IsSpace(Char) 方法

定义

注意

deprecated

确定指定的字符是否为 ISO-LATIN-1 空格。

[Android.Runtime.Register("isSpace", "(C)Z", "")]
[System.Obsolete("deprecated")]
public static bool IsSpace (char ch);
[<Android.Runtime.Register("isSpace", "(C)Z", "")>]
[<System.Obsolete("deprecated")>]
static member IsSpace : char -> bool

参数

ch
Char

要测试的字符。

返回

true 如果字符为 ISO-LATIN-1 空格,则为 ; false 否则。

属性

注解

确定指定的字符是否为 ISO-LATIN-1 空格。 此方法仅返回true以下五个字符:<table class=“striped”<>caption style=“display:none”>truechars</caption><thead><tr><th scope=“col”>Character <th scope=“col”Code th scope=“col”>Code <th scope=“col”>Name </thead<>tbody tbody><tr><th scope=“row”>'\t'</th<>td/td td tdU+0009<>><<HORIZONTAL TABULATION>/tr>><< tr th><scope=“row”>'\n'</th><td>U+000A</td td<>/td><NEW LINE></tr><><th scope=“row”<'\f'>/th><td<>U+000C/td td/td><>FORM FEED><</tr<>tr><th scope=“row”'\r'></th><tdU+000D></><td td/tr><><th scope=“row”' '></th<>td>CARRIAGE RETURN<><>U+0020</td><td/td><><SPACE/tr></tbody></table>

此成员已弃用。 替换为 isWhitespace(char)。

适用于 . 的 java.lang.Character.isSpace(char)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于