MemoryExtensions.IsWhiteSpace(ReadOnlySpan<Char>) Metodo

Definizione

Indica se l'intervallo specificato contiene solo spazi vuoti.Indicates whether the specified span contains only whitespace characters.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsWhiteSpace(ReadOnlySpan<char> span);
public static bool IsWhiteSpace (this ReadOnlySpan<char> span);
static member IsWhiteSpace : ReadOnlySpan<char> -> bool
<Extension()>
Public Function IsWhiteSpace (span As ReadOnlySpan(Of Char)) As Boolean

Parametri

span
ReadOnlySpan<Char>

Intervallo di origine.The source span.

Restituisce

Boolean

true se l'intervallo contiene solo spazi vuoti; in caso contrario, false.true if the span contains only whitespace characters, false otherwise.

Si applica a