SpanHelpersTryParseInt(ReadOnlySpanChar, NumberStyles, IFormatProvider, Int32) Method
Namespace: Avalonia.UtilitiesAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool TryParseInt(
this ReadOnlySpan<char> span,
NumberStyles style,
IFormatProvider provider,
out int value
)
<ExtensionAttribute>
Public Shared Function TryParseInt (
span As ReadOnlySpan(Of Char),
style As NumberStyles,
provider As IFormatProvider,
<OutAttribute> ByRef value As Integer
) As Boolean
[<ExtensionAttribute>]
static member TryParseInt :
span : ReadOnlySpan<char> *
style : NumberStyles *
provider : IFormatProvider *
value : int byref -> bool
- span ReadOnlySpanChar
-
- style NumberStyles
-
- provider IFormatProvider
-
- value Int32
-
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).