Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal info As DateTimeFormatInfo, _ ByVal dateDefault As Date _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim info As DateTimeFormatInfo Dim dateDefault As Date Dim instance As New SpreadDropDownMonthCalendar(info, dateDefault) |
C# | |
---|---|
public SpreadDropDownMonthCalendar( DateTimeFormatInfo info, DateTime dateDefault ) |
Parameters
- info
- Defines how System.DateTime values are formatted and displayed.
- dateDefault
- The default value for SpreadDropDownMonthCalendar
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2