Share via


Character.IsIdentifierIgnorable Method

Definition

Overloads

IsIdentifierIgnorable(Char)

Determines if the specified character should be regarded as an ignorable character in a Java identifier or a Unicode identifier.

IsIdentifierIgnorable(Int32)

Determines if the specified character (Unicode code point) should be regarded as an ignorable character in a Java identifier or a Unicode identifier.

IsIdentifierIgnorable(Char)

Determines if the specified character should be regarded as an ignorable character in a Java identifier or a Unicode identifier.

[Android.Runtime.Register("isIdentifierIgnorable", "(C)Z", "")]
public static bool IsIdentifierIgnorable (char ch);
[<Android.Runtime.Register("isIdentifierIgnorable", "(C)Z", "")>]
static member IsIdentifierIgnorable : char -> bool

Parameters

ch
Char

the character to be tested.

Returns

true if the character is an ignorable control character that may be part of a Java or Unicode identifier; false otherwise.

Attributes

Remarks

Determines if the specified character should be regarded as an ignorable character in a Java identifier or a Unicode identifier.

The following Unicode characters are ignorable in a Java identifier or a Unicode identifier: <ul> <li>ISO control characters that are not whitespace <ul> <li>'\u005Cu0000' through '\u005Cu0008'<li>'\u005Cu000E' through '\u005Cu001B'<li>'\u005Cu007F' through '\u005Cu009F'</ul>

<li>all characters that have the FORMAT general category value </ul>

<b>Note:</b> This method cannot handle supplementary characters. To support all Unicode characters, including supplementary characters, use the #isIdentifierIgnorable(int) method.

Added in 1.1.

Java documentation for java.lang.Character.isIdentifierIgnorable(char).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

IsIdentifierIgnorable(Int32)

Determines if the specified character (Unicode code point) should be regarded as an ignorable character in a Java identifier or a Unicode identifier.

[Android.Runtime.Register("isIdentifierIgnorable", "(I)Z", "")]
public static bool IsIdentifierIgnorable (int codePoint);
[<Android.Runtime.Register("isIdentifierIgnorable", "(I)Z", "")>]
static member IsIdentifierIgnorable : int -> bool

Parameters

codePoint
Int32

the character (Unicode code point) to be tested.

Returns

true if the character is an ignorable control character that may be part of a Java or Unicode identifier; false otherwise.

Attributes

Remarks

Determines if the specified character (Unicode code point) should be regarded as an ignorable character in a Java identifier or a Unicode identifier.

The following Unicode characters are ignorable in a Java identifier or a Unicode identifier: <ul> <li>ISO control characters that are not whitespace <ul> <li>'\u005Cu0000' through '\u005Cu0008'<li>'\u005Cu000E' through '\u005Cu001B'<li>'\u005Cu007F' through '\u005Cu009F'</ul>

<li>all characters that have the FORMAT general category value </ul>

Added in 1.5.

Java documentation for java.lang.Character.isIdentifierIgnorable(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to