Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal formatString As String, _ ByVal formatInfo As IFormatProvider _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim formatString As String Dim formatInfo As IFormatProvider Dim instance As New GeneralFormatter(formatString, formatInfo) |
C# | |
---|---|
public GeneralFormatter( string formatString, IFormatProvider formatInfo ) |
Parameters
- formatString
- String with format information
- formatInfo
- IFormatProvider interface with number and date-time format information
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8