IPNetwork.IParsable<IPNetwork>.TryParse Metodo

Definizione

Tenta di analizzare una stringa in un oggetto IPNetwork.

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

Parametri

s
String

Stringa da analizzare.

provider
IFormatProvider

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

result
IPNetwork

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

Restituisce

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

Si applica a