SpanHelpersTryParseByte Method
Namespace: Avalonia.UtilitiesAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool TryParseByte(
this ReadOnlySpan<char> span,
NumberStyles style,
IFormatProvider provider,
out byte value
)
<ExtensionAttribute>
Public Shared Function TryParseByte (
span As ReadOnlySpan(Of Char),
style As NumberStyles,
provider As IFormatProvider,
<OutAttribute> ByRef value As Byte
) As Boolean
[<ExtensionAttribute>]
static member TryParseByte :
span : ReadOnlySpan<char> *
style : NumberStyles *
provider : IFormatProvider *
value : byte byref -> bool
- span ReadOnlySpanChar
-
- style NumberStyles
-
- provider IFormatProvider
-
- value Byte
-
BooleanIn Visual Basic and C#, you can call this method as an instance method on any object of type
ReadOnlySpanChar. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).