Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / GeneralFormatter Class / SetFormatString Method
Format string
Whether to consider a number as a date and time


In This Topic
    SetFormatString Method
    In This Topic
    Sets the format string used to format values.
    Syntax
    'Declaration
     
    Public Sub SetFormatString( _
       ByVal value As String, _
       ByVal isDateFormat As Boolean _
    ) 
    'Usage
     
    Dim instance As GeneralFormatter
    Dim value As String
    Dim isDateFormat As Boolean
     
    instance.SetFormatString(value, isDateFormat)
    public void SetFormatString( 
       string value,
       bool isDateFormat
    )

    Parameters

    value
    Format string
    isDateFormat
    Whether to consider a number as a date and time
    Remarks
    Set isDateFormat to true if the format you are providing is a date-time format.
    See Also