Spread for ASP.NET 8.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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

GeneralFormatter Class
GeneralFormatter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.