Converts the specified string representation of a date to its Date equivalent using the specified format and culture-specific format information. The format of the string representation must match the specified format exactly.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.GanttChart.Mvc.Extensions (in DlhSoft.ProjectData.GanttChart.Mvc.Extensions.dll)
Syntax
| C# |
|---|
public static Date ParseExact( string s, string format, IFormatProvider provider ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ParseExact ( _ s As String, _ format As String, _ provider As IFormatProvider _ ) As Date |
Parameters
- s
- Type: System..::.String
A string containing a date to convert.
- format
- Type: System..::.String
The expected format of s.
- provider
- Type: System..::.IFormatProvider
An IFormatProvider that supplies culture-specific format information about ss.