Rune.IsWhiteSpace(Rune) Method

Definition

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

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

Parameters

value
Rune

The rune to evaluate.

Returns

true if value is a white space character; otherwise, false.

Remarks

This method is generally equivalent to querying GetUnicodeCategory(Rune) and comparing the result against any of the values SpaceSeparator, LineSeparator, and ParagraphSeparator. However, there are some Runes in the Control category which are also classified as white space characters, and this method accounts for those values.

For more information, see Char.IsWhiteSpace.

Applies to