TryParse Method
Parses an HSL color string.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool TryParse(
string? s,
out HslColor? hslColor
)
Public Shared Function TryParse (
s As String,
<OutAttribute> ByRef hslColor As HslColor
) As Boolean
static member TryParse :
s : string *
hslColor : HslColor byref -> bool
Parameters
Return Value
Boolean
True if parsing was successful; otherwise, false.