 | Utf8StringTryParse(ReadOnlySpanChar, IFormatProvider, Utf8String) Method |
Tries to parse a span of characters into a value.
Namespace: Ookii.Jumbo.IOAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static bool TryParse(
ReadOnlySpan<char> s,
IFormatProvider? provider,
out Utf8String result
)
Public Shared Function TryParse (
s As ReadOnlySpan(Of Char),
provider As IFormatProvider,
<OutAttribute> ByRef result As Utf8String
) As Boolean
public:
static bool TryParse(
ReadOnlySpan<wchar_t> s,
IFormatProvider^ provider,
[OutAttribute] Utf8String^% result
)
static member TryParse :
s : ReadOnlySpan<char> *
provider : IFormatProvider *
result : Utf8String byref -> bool
Parameters
- s ReadOnlySpanChar
- The span of characters to parse.
- provider IFormatProvider
- An object that provides culture-specific formatting information about s.
- result Utf8String
- When this method returns, contains the result of successfully parsing s, or an undefined value on failure.
Return Value
Boolean if
s was successfully parsed; otherwise,
.
Implements
ISpanParsableTSelfTryParse(ReadOnlySpanChar, IFormatProvider, TSelf)
See Also