| 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family