TryParseByte Method
Definition
Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
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
Parameters
Return Value
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ReadOnlySpan(Char). 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).