IPAddress.IsValidUtf8(ReadOnlySpan<Byte>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.