Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IFormatter Interface / Format Method / Format(TimeSpan,FormatOptions) Method
A System.TimeSpan value indicates the time interval.
A value that specifies additional format options.


In This Topic
Format(TimeSpan,FormatOptions) Method
In This Topic
Formats the specified number to display text.
Syntax
'Declaration
 
Overloads Function Format( _
   ByVal timeSpan As TimeSpan, _
   Optional ByVal options As FormatOptions _
) As FormatResult
 
'Usage
 
Dim instance As IFormatter
Dim timeSpan As TimeSpan
Dim options As FormatOptions
Dim value As FormatResult
 
value = instance.Format(timeSpan, options)

Parameters

timeSpan
A System.TimeSpan value indicates the time interval.
options
A value that specifies additional format options.

Return Value

A FormatResult value represents the formatting result.
See Also