IPNetwork.ISpanParsable<IPNetwork>.TryParse Metodo

Definizione

Prova a analizzare un intervallo di caratteri in un valore.

 static bool System.ISpanParsable<System.Net.IPNetwork>.TryParse(ReadOnlySpan<char> s, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::Net::IPNetwork % result) = ISpanParsable<System::Net::IPNetwork>::TryParse;
static bool ISpanParsable<IPNetwork>.TryParse (ReadOnlySpan<char> s, IFormatProvider provider, out System.Net.IPNetwork result);
static member System.ISpanParsable<System.Net.IPNetwork>.TryParse : ReadOnlySpan<char> * IFormatProvider * IPNetwork -> bool
 Shared Function TryParse (s As ReadOnlySpan(Of Char), provider As IFormatProvider, ByRef result As IPNetwork) As Boolean Implements ISpanParsable(Of IPNetwork).TryParse

Parametri

s
ReadOnlySpan<Char>

Intervallo di caratteri da analizzare.

provider
IFormatProvider

Oggetto che fornisce informazioni di formattazione specifiche delle impostazioni cultura relative a s.

result
IPNetwork

Quando questo metodo restituisce, contiene il risultato dell'analisi s corretta o di un valore non definito in caso di errore.

Restituisce

true se è stato analizzato correttamente; in caso s contrario, false.

Si applica a