Spread ASP.NET 6.0 Product Documentation
SetFormatString Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > GeneralFormatter Class : SetFormatString Method


value
Format string
isDateFormat
Whether to consider a number as a date and time

Glossary Item Box

Sets the format string used to format values.

Syntax

Visual Basic (Declaration) 
Public Sub SetFormatString( _
   ByVal value As String, _
   ByVal isDateFormat As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As GeneralFormatter
Dim value As String
Dim isDateFormat As Boolean
 
instance.SetFormatString(value, isDateFormat)
C# 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.