Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal formatString As String, _ ByVal isDateFormat As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim formatString As String Dim isDateFormat As Boolean Dim instance As New GeneralFormatter(formatString, isDateFormat) |
C# | |
---|---|
public GeneralFormatter( string formatString, bool isDateFormat ) |
Parameters
- formatString
- String with format information
- isDateFormat
- Whether to consider the number as a date and format it as such
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