Skip to main content

TimeSpanRange.TryParse(String, CultureInfo, out TimeSpanRange) Method

Tries to parse the specified string and convert it into the time span range.

Namespace: DevExpress.Maui.Scheduler

Assembly: DevExpress.Maui.Scheduler.dll

NuGet Package: DevExpress.Maui.Scheduler

Declaration

public static bool TryParse(
    string input,
    CultureInfo culture,
    out TimeSpanRange result
)

Parameters

Name Type Description
input String

The string to parse.

culture CultureInfo

The culture-specific formatting information.

result TimeSpanRange

The range generated from the specified string. This parameter is passed uninitialized; the method overrides any value originally supplied in the result.

Returns

Type Description
Boolean

true if the method successfully parses the specified string; otherwise, false.

See Also