IPNetwork.ISpanParsable<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 span of characters into a value.
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
Parameters
- s
- ReadOnlySpan<Char>
The span of characters 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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.