| 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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8