IPNetwork.IParsable<IPNetwork>.TryParse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to parse a string into an 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
Parameters
- s
- String
The string to parse.
- provider
- IFormatProvider
An object that provides culture-specific formatting information about s
.
- result
- IPNetwork
When this method returns, contains the result of successfully parsing s
or an undefined value on failure.
Returns
true
if s
was successfully parsed; otherwise, false
.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.