Converts the specified string representation of a date to its Date equivalent using the specified culture-specific format information.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public static Date Parse(
	string s,
	IFormatProvider provider
)
Visual Basic (Declaration)
Public Shared Function Parse ( _
	s As String, _
	provider As IFormatProvider _
) As Date

Parameters

s
Type: System..::.String
A string containing a date to convert.
provider
Type: System..::.IFormatProvider
An IFormatProvider that supplies culture-specific format information about ss.

Return Value

A Date equivalent to the date contained in s as specified by provider.

See Also