Прочитај на енглеском Уреди

Делите путем


Rune.IsWhiteSpace(Rune) Method

Definition

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

C#
public static bool IsWhiteSpace(System.Text.Rune value);

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

Производ Верзије
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10