Edit

Bagikan melalui


Rune.IsControl(Rune) Method

Definition

Returns a value that indicates whether the specified rune is categorized as a control character.

public:
 static bool IsControl(System::Text::Rune value);
public static bool IsControl (System.Text.Rune value);
static member IsControl : System.Text.Rune -> bool
Public Shared Function IsControl (value As Rune) As Boolean

Parameters

value
Rune

The rune to evaluate.

Returns

true if value is a control character; otherwise, false.

Remarks

This method is equivalent to querying GetUnicodeCategory(Rune) and comparing the result against Control.

Per Unicode stability policies, the set of control characters is permanently fixed to be the union of [ U+0000..U+001F ] and [ U+007F..U+009F ].

For more information, see Char.IsControl.

Applies to