Rune.IsControl(Rune) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- value
- Rune
The rune to evaluate.
true
if value
is a control character; otherwise, false
.
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.
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: