Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / GeneralFormatter Class / GeneralFormatter Constructor / GeneralFormatter Constructor(String,IFormatProvider)
String with format information
IFormatProvider interface with number and date-time format information


In This Topic
    GeneralFormatter Constructor(String,IFormatProvider)
    In This Topic
    Creates a new formatter with the specified format and formatting information (copied from the current culture).
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal formatString As String, _
       ByVal formatInfo As IFormatProvider _
    )
    'Usage
     
    
    Dim formatString As String
    Dim formatInfo As IFormatProvider
     
    Dim instance As New GeneralFormatter(formatString, formatInfo)
    public GeneralFormatter( 
       string formatString,
       IFormatProvider formatInfo
    )

    Parameters

    formatString
    String with format information
    formatInfo
    IFormatProvider interface with number and date-time format information
    See Also