StringConverterTryParse(String, DateOnly, CultureInfo) Method
Tries to convert the specified string to its System.DateOnly equivalent.
Namespace: Common.Wpf.ConvertersAssembly: Common.Wpf.Resources (in Common.Wpf.Resources.dll) Version: 2.0.6
public static bool TryParse(
ref string value,
out DateOnly result,
CultureInfo? culture = null
)
- value String
- A string containing the value to convert.
- result DateOnly
- If the conversion succeeded, contains the value.
- culture CultureInfo (Optional)
- An object that provides culture-specific formatting information.
Boolean if value was converted successfully.