IPAddress.IsValidUtf8(ReadOnlySpan<Byte>) Méthode

Définition

Détermine si l’étendue fournie contient une valeur valide IPAddress.

public:
 static bool IsValidUtf8(ReadOnlySpan<System::Byte> utf8Text);
public static bool IsValidUtf8(ReadOnlySpan<byte> utf8Text);
static member IsValidUtf8 : ReadOnlySpan<byte> -> bool
Public Shared Function IsValidUtf8 (utf8Text As ReadOnlySpan(Of Byte)) As Boolean

Paramètres

utf8Text
ReadOnlySpan<Byte>

Texte à analyser.

Retours

true si utf8Text contient une adresse IP valide ; sinon, false.

S’applique à