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 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