Spread for ASP.NET 7.0 Product Documentation
Format Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Renderer Namespace > IEnhancedFormatter Interface : Format Method


o
Object to format
formatString
Format string built by the parser
provider
IFormatProvider built by parser

Glossary Item Box

Formats the object as a string.

Syntax

Visual Basic (Declaration) 
Function Format( _
   ByVal o As Object, _
   ByVal formatString As String, _
   ByVal provider As IFormatProvider _
) As String
Visual Basic (Usage)Copy Code
Dim instance As IEnhancedFormatter
Dim o As Object
Dim formatString As String
Dim provider As IFormatProvider
Dim value As String
 
value = instance.Format(o, formatString, provider)
C# 
string Format( 
   object o,
   string formatString,
   IFormatProvider provider
)

Parameters

o
Object to format
formatString
Format string built by the parser
provider
IFormatProvider built by parser

Return Value

String representation

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.