Converts the value of the current Date object to its equivalent string representation using the specified format and culture-specific format information.

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

Syntax

C#
public string ToString(
	string format,
	IFormatProvider provider
)
Visual Basic (Declaration)
Public Function ToString ( _
	format As String, _
	provider As IFormatProvider _
) As String

Parameters

format
Type: System..::.String
A DateTime format string.
provider
Type: System..::.IFormatProvider
An IFormatProvider that supplies culture-specific formatting information.

Return Value

A string representation of value of the current Date object as specified by format and provider.

Implements

IFormattable..::.ToString(String, IFormatProvider)

See Also