Spread for ASP.NET 9.0 Product Documentation
SetFormatString Method


Format string
Whether to consider a number as a date and time
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.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

GeneralFormatter Class
GeneralFormatter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.