IPAddress.IParsable<IPAddress>.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 IPAddress.
static bool System.IParsable<System.Net.IPAddress>.TryParse(System::String ^ s, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::Net::IPAddress ^ % result) = IParsable<System::Net::IPAddress ^>::TryParse;
static bool IParsable<IPAddress>.TryParse (string s, IFormatProvider provider, out System.Net.IPAddress result);
static member System.IParsable<System.Net.IPAddress>.TryParse : string * IFormatProvider * IPAddress -> bool
Shared Function TryParse (s As String, provider As IFormatProvider, ByRef result As IPAddress) As Boolean Implements IParsable(Of IPAddress).TryParse
Parameters
- s
- String
The string to parse.
- provider
- IFormatProvider
An object that provides culture-specific formatting information about s
.
- result
- IPAddress
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.