SyntaxFacts.IsWhitespace(Char) Method

Definition

Determines if Unicode character represents a whitespace.

public:
 static bool IsWhitespace(char c);
public static bool IsWhitespace (char c);
static member IsWhitespace : char -> bool
Public Shared Function IsWhitespace (c As Char) As Boolean

Parameters

c
Char

The Unicode character.

Returns

A boolean value set to True if character represents whitespace.

Applies to