DateTimeRange.TryParse(String, CultureInfo, out DateTimeRange) Method
In This Article
Tries to parse the specified string and convert it into the date-time range.
Namespace: DevExpress.Maui.Scheduler
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
#Declaration
C#
public static bool TryParse(
string input,
CultureInfo culture,
out DateTimeRange result
)
#Parameters
Name | Type | Description |
---|---|---|
input | String | The string to parse. |
culture | Culture |
The culture-specific formatting information. |
result | Date |
The time 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 |
|
See Also