Share via


IPNetwork.IParsable<IPNetwork>.TryParse Méthode

Définition

Tente d’analyser une chaîne dans un 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

Paramètres

s
String

Chaîne à analyser.

provider
IFormatProvider

Objet qui fournit des informations de mise en forme propres à la culture concernant s.

result
IPNetwork

Lorsque cette méthode retourne, contient le résultat d’une analyse s réussie ou une valeur non définie en cas d’échec.

Retours

true si s a été correctement analysé ; sinon, false.

S’applique à