Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal showLeadingZero As Boolean, _ ByVal showTraditionalFirstYear As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim showLeadingZero As Boolean Dim showTraditionalFirstYear As Boolean Dim instance As New DateEraYearDisplayFieldInfo(showLeadingZero, showTraditionalFirstYear) |
C# | |
---|---|
public DateEraYearDisplayFieldInfo( bool showLeadingZero, bool showTraditionalFirstYear ) |
Parameters
- showLeadingZero
- If set to true, the field shows leading zeros.
- showTraditionalFirstYear
- A bool value, if set to true display the first era year as the start of the era.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8