Spread Windows Forms 10.0 Product Documentation
DateShortHourDisplayFieldInfo Constructor(Boolean,Hour12Mode)


A bool value that indicates whether the length of the field is fixed.
A DateShortHourDisplayFieldInfo.Hour12Mode enumeration that indicates how to represent the hour 12 in duodecimal hour format.
Initializes a new instance of the DateShortHourDisplayFieldInfo class.
Syntax
'Declaration
 
Public Function New( _
   ByVal showLeadingZero As Boolean, _
   ByVal hour12Mode As Hour12Mode _
)
'Usage
 
Dim showLeadingZero As Boolean
Dim hour12Mode As Hour12Mode
 
Dim instance As New DateShortHourDisplayFieldInfo(showLeadingZero, hour12Mode)
public DateShortHourDisplayFieldInfo( 
   bool showLeadingZero,
   Hour12Mode hour12Mode
)

Parameters

showLeadingZero
A bool value that indicates whether the length of the field is fixed.
hour12Mode
A DateShortHourDisplayFieldInfo.Hour12Mode enumeration that indicates how to represent the hour 12 in duodecimal hour format.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

DateShortHourDisplayFieldInfo Class
DateShortHourDisplayFieldInfo Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.