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.DataAssembly: 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.