Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal showLeadingZero As Boolean, _ ByVal hour12Mode As Hour12Mode _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim showLeadingZero As Boolean Dim hour12Mode As Hour12Mode Dim instance As New DateShortHourDisplayField(showLeadingZero, hour12Mode) |
C# | |
---|---|
public DateShortHourDisplayField( bool showLeadingZero, Hour12Mode hour12Mode ) |
Parameters
- showLeadingZero
- A bool value indicates whether the length of the field is fixed.
- hour12Mode
- A Hour12Mode enumeration indicates how we represents the hour 12 in duodecimal hour format.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8